lean_all/ym/GenA6.lean
have t130 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t131 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (20))))) := A1.Dn K O x hD (15) (4) (15) (16) (17) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t132 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (22))))) := A1.Dn K O x hD (15) (6) (15) (16) (17) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t133 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (24))))) := A1.Dn K O x hD (15) (8) (15) (16) (17) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t134 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (26))))) := A1.Dn K O x hD (15) (10) (15) (16) (17) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_ -- (+2928 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.ne -- (+323 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 (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))))) := A1.Dn K O x hD (3) (11) (3) (4) (5) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (17))))) := A1.Dn K O x hD (3) (13) (3) (4) (5) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (21))))) := A1.Dn K O x hD (3) (17) (3) (4) (5) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (23))))) := A1.Dn K O x hD (3) (19) (3) (4) (5) (22) (23) (24) (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 (24)) (Zs K x (26))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (25))))) := A1.Dn K O x hD (3) (21) (3) (4) (5) (24) (25) (26) (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 (26)) (Zs K x (28))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (27))))) := A1.Dn K O x hD (3) (23) (3) (4) (5) (26) (27) (28) (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 (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 t8 : 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 t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (22))))) := A1.Dn K O x hD (4) (17) (4) (5) (6) (21) (22) (23) (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 (23)) (Zs K x (25))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (24))))) := A1.Dn K O x hD (4) (19) (4) (5) (6) (23) (24) (25) (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 (25)) (Zs K x (27))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (26))))) := A1.Dn K O x hD (4) (21) (4) (5) (6) (25) (26) (27) (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)
have t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))))) := A1.Dn K O x hD (5) (15) (5) (6) (7) (20) (21) (22) (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 (20)) (Zs K x (22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))))) := A1.Dn K O x hD (5) (15) (5) (6) (7) (20) (21) (22) (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 (22)) (Zs K x (24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (23))))) := A1.Dn K O x hD (5) (17) (5) (6) (7) (22) (23) (24) (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 (22)) (Zs K x (24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (23))))) := A1.Dn K O x hD (5) (17) (5) (6) (7) (22) (23) (24) (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 (24)) (Zs K x (26))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (25))))) := A1.Dn K O x hD (5) (19) (5) (6) (7) (24) (25) (26) (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 (24)) (Zs K x (26))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (25))))) := A1.Dn K O x hD (5) (19) (5) (6) (7) (24) (25) (26) (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 (26)) (Zs K x (28))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (27))))) := A1.Dn K O x hD (5) (21) (5) (6) (7) (26) (27) (28) (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 (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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 t30 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (22))))) := A1.Dn K O x hD (6) (15) (6) (7) (8) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t31 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (22))))) := A1.Dn K O x hD (6) (15) (6) (7) (8) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t32 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (24))))) := A1.Dn K O x hD (6) (17) (6) (7) (8) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t33 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (24))))) := A1.Dn K O x hD (6) (17) (6) (7) (8) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (26))))) := A1.Dn K O x hD (6) (19) (6) (7) (8) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (23))))) := A1.Dn K O x hD (7) (15) (7) (8) (9) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t45 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (23))))) := A1.Dn K O x hD (7) (15) (7) (8) (9) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t46 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (23))))) := A1.Dn K O x hD (7) (15) (7) (8) (9) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (25))))) := A1.Dn K O x hD (7) (17) (7) (8) (9) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (25))))) := A1.Dn K O x hD (7) (17) (7) (8) (9) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (27))))) := A1.Dn K O x hD (7) (19) (7) (8) (9) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (22))))) := A1.Dn K O x hD (8) (13) (8) (9) (10) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t57 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (22))))) := A1.Dn K O x hD (8) (13) (8) (9) (10) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t58 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (22))))) := A1.Dn K O x hD (8) (13) (8) (9) (10) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t59 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (24))))) := A1.Dn K O x hD (8) (15) (8) (9) (10) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t60 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (24))))) := A1.Dn K O x hD (8) (15) (8) (9) (10) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (26))))) := A1.Dn K O x hD (8) (17) (8) (9) (10) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t69 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t70 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t71 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t72 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (23))))) := A1.Dn K O x hD (9) (13) (9) (10) (11) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (23))))) := A1.Dn K O x hD (9) (13) (9) (10) (11) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t74 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (23))))) := A1.Dn K O x hD (9) (13) (9) (10) (11) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (25))))) := A1.Dn K O x hD (9) (15) (9) (10) (11) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (25))))) := A1.Dn K O x hD (9) (15) (9) (10) (11) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (27))))) := A1.Dn K O x hD (9) (17) (9) (10) (11) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t78 : 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 t79 : 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 t80 : 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 t81 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t82 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t83 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))))) := A1.Dn K O x hD (10) (11) (10) (11) (12) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))))) := A1.Dn K O x hD (10) (11) (10) (11) (12) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))))) := A1.Dn K O x hD (10) (11) (10) (11) (12) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (24))))) := A1.Dn K O x hD (10) (13) (10) (11) (12) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (24))))) := A1.Dn K O x hD (10) (13) (10) (11) (12) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (26))))) := A1.Dn K O x hD (10) (15) (10) (11) (12) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t90 : 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)
have t91 : 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)
have t92 : 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)
have t93 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t94 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t95 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (21))))) := A1.Dn K O x hD (11) (9) (11) (12) (13) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (21))))) := A1.Dn K O x hD (11) (9) (11) (12) (13) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (21))))) := A1.Dn K O x hD (11) (9) (11) (12) (13) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (23))))) := A1.Dn K O x hD (11) (11) (11) (12) (13) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (23))))) := A1.Dn K O x hD (11) (11) (11) (12) (13) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (23))))) := A1.Dn K O x hD (11) (11) (11) (12) (13) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (25))))) := A1.Dn K O x hD (11) (13) (11) (12) (13) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (25))))) := A1.Dn K O x hD (11) (13) (11) (12) (13) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (27))))) := A1.Dn K O x hD (11) (15) (11) (12) (13) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (18))))) := A1.Dn K O x hD (12) (5) (12) (13) (14) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (18))))) := A1.Dn K O x hD (12) (5) (12) (13) (14) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (20))))) := A1.Dn K O x hD (12) (7) (12) (13) (14) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (20))))) := A1.Dn K O x hD (12) (7) (12) (13) (14) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (22))))) := A1.Dn K O x hD (12) (9) (12) (13) (14) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (22))))) := A1.Dn K O x hD (12) (9) (12) (13) (14) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (24))))) := A1.Dn K O x hD (12) (11) (12) (13) (14) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (24))))) := A1.Dn K O x hD (12) (11) (12) (13) (14) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (26))))) := A1.Dn K O x hD (12) (13) (12) (13) (14) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t115 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t116 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t117 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t118 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (19))))) := A1.Dn K O x hD (13) (5) (13) (14) (15) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t119 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (19))))) := A1.Dn K O x hD (13) (5) (13) (14) (15) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t120 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (21))))) := A1.Dn K O x hD (13) (7) (13) (14) (15) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t121 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (21))))) := A1.Dn K O x hD (13) (7) (13) (14) (15) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t122 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (23))))) := A1.Dn K O x hD (13) (9) (13) (14) (15) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t123 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (23))))) := A1.Dn K O x hD (13) (9) (13) (14) (15) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t124 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (25))))) := A1.Dn K O x hD (13) (11) (13) (14) (15) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t125 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (25))))) := A1.Dn K O x hD (13) (11) (13) (14) (15) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t126 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (27))))) := A1.Dn K O x hD (13) (13) (13) (14) (15) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t127 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t128 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (20))))) := A1.Dn K O x hD (14) (5) (14) (15) (16) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t129 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (22))))) := A1.Dn K O x hD (14) (7) (14) (15) (16) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t130 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (24))))) := A1.Dn K O x hD (14) (9) (14) (15) (16) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t131 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (26))))) := A1.Dn K O x hD (14) (11) (14) (15) (16) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t132 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (17))))) := A1.Dn K O x hD (15) (1) (15) (16) (17) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t133 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t134 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (21))))) := A1.Dn K O x hD (15) (5) (15) (16) (17) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t135 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (23))))) := A1.Dn K O x hD (15) (7) (15) (16) (17) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t136 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (25))))) := A1.Dn K O x hD (15) (9) (15) (16) (17) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t137 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (27))))) := A1.Dn K O x hD (15) (11) (15) (16) (17) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.n -- (+3005 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K. -- (+325 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (16))))) := A1.Dn K O x hD (3) (12) (3) (4) (5) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (18))))) := A1.Dn K O x hD (3) (14) (3) (4) (5) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (22))))) := A1.Dn K O x hD (3) (18) (3) (4) (5) (21) (22) (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 (23)) (Zs K x (25))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (24))))) := A1.Dn K O x hD (3) (20) (3) (4) (5) (23) (24) (25) (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 (25)) (Zs K x (27))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (26))))) := A1.Dn K O x hD (3) (22) (3) (4) (5) (25) (26) (27) (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 (27)) (Zs K x (29))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (28))))) := A1.Dn K O x hD (3) (24) (3) (4) (5) (27) (28) (29) (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 (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 t8 : 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 t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (23))))) := A1.Dn K O x hD (4) (18) (4) (5) (6) (22) (23) (24) (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 (24)) (Zs K x (26))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (25))))) := A1.Dn K O x hD (4) (20) (4) (5) (6) (24) (25) (26) (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 (26)) (Zs K x (28))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (27))))) := A1.Dn K O x hD (4) (22) (4) (5) (6) (26) (27) (28) (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)
have t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (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 (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (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 (23)) (Zs K x (25))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (24))))) := A1.Dn K O x hD (5) (18) (5) (6) (7) (23) (24) (25) (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 (23)) (Zs K x (25))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (24))))) := A1.Dn K O x hD (5) (18) (5) (6) (7) (23) (24) (25) (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 (25)) (Zs K x (27))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (26))))) := A1.Dn K O x hD (5) (20) (5) (6) (7) (25) (26) (27) (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 (25)) (Zs K x (27))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (26))))) := A1.Dn K O x hD (5) (20) (5) (6) (7) (25) (26) (27) (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 (27)) (Zs K x (29))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (28))))) := A1.Dn K O x hD (5) (22) (5) (6) (7) (27) (28) (29) (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 (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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 t30 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (23))))) := A1.Dn K O x hD (6) (16) (6) (7) (8) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t31 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (23))))) := A1.Dn K O x hD (6) (16) (6) (7) (8) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t32 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (25))))) := A1.Dn K O x hD (6) (18) (6) (7) (8) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t33 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (25))))) := A1.Dn K O x hD (6) (18) (6) (7) (8) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (27))))) := A1.Dn K O x hD (6) (20) (6) (7) (8) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))))) := A1.Dn K O x hD (7) (16) (7) (8) (9) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t45 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))))) := A1.Dn K O x hD (7) (16) (7) (8) (9) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t46 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))))) := A1.Dn K O x hD (7) (16) (7) (8) (9) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (26))))) := A1.Dn K O x hD (7) (18) (7) (8) (9) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (26))))) := A1.Dn K O x hD (7) (18) (7) (8) (9) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (28))))) := A1.Dn K O x hD (7) (20) (7) (8) (9) (27) (28) (29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (23))))) := A1.Dn K O x hD (8) (14) (8) (9) (10) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t57 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (23))))) := A1.Dn K O x hD (8) (14) (8) (9) (10) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t58 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (23))))) := A1.Dn K O x hD (8) (14) (8) (9) (10) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t59 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (25))))) := A1.Dn K O x hD (8) (16) (8) (9) (10) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t60 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (25))))) := A1.Dn K O x hD (8) (16) (8) (9) (10) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (27))))) := A1.Dn K O x hD (8) (18) (8) (9) (10) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t69 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t70 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t71 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t72 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (24))))) := A1.Dn K O x hD (9) (14) (9) (10) (11) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (24))))) := A1.Dn K O x hD (9) (14) (9) (10) (11) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t74 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (24))))) := A1.Dn K O x hD (9) (14) (9) (10) (11) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (26))))) := A1.Dn K O x hD (9) (16) (9) (10) (11) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (26))))) := A1.Dn K O x hD (9) (16) (9) (10) (11) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (28))))) := A1.Dn K O x hD (9) (18) (9) (10) (11) (27) (28) (29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t78 : 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 t79 : 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 t80 : 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 t81 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t82 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t83 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (23))))) := A1.Dn K O x hD (10) (12) (10) (11) (12) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (23))))) := A1.Dn K O x hD (10) (12) (10) (11) (12) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (23))))) := A1.Dn K O x hD (10) (12) (10) (11) (12) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (25))))) := A1.Dn K O x hD (10) (14) (10) (11) (12) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (25))))) := A1.Dn K O x hD (10) (14) (10) (11) (12) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (27))))) := A1.Dn K O x hD (10) (16) (10) (11) (12) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t90 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (16))))) := A1.Dn K O x hD (11) (4) (11) (12) (13) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t91 : 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)
have t92 : 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)
have t93 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t94 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t95 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (22))))) := A1.Dn K O x hD (11) (10) (11) (12) (13) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (22))))) := A1.Dn K O x hD (11) (10) (11) (12) (13) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (22))))) := A1.Dn K O x hD (11) (10) (11) (12) (13) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (24))))) := A1.Dn K O x hD (11) (12) (11) (12) (13) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (24))))) := A1.Dn K O x hD (11) (12) (11) (12) (13) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (24))))) := A1.Dn K O x hD (11) (12) (11) (12) (13) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (26))))) := A1.Dn K O x hD (11) (14) (11) (12) (13) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (26))))) := A1.Dn K O x hD (11) (14) (11) (12) (13) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (28))))) := A1.Dn K O x hD (11) (16) (11) (12) (13) (27) (28) (29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (19))))) := A1.Dn K O x hD (12) (6) (12) (13) (14) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (19))))) := A1.Dn K O x hD (12) (6) (12) (13) (14) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (21))))) := A1.Dn K O x hD (12) (8) (12) (13) (14) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (21))))) := A1.Dn K O x hD (12) (8) (12) (13) (14) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (23))))) := A1.Dn K O x hD (12) (10) (12) (13) (14) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (23))))) := A1.Dn K O x hD (12) (10) (12) (13) (14) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (25))))) := A1.Dn K O x hD (12) (12) (12) (13) (14) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (25))))) := A1.Dn K O x hD (12) (12) (12) (13) (14) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (27))))) := A1.Dn K O x hD (12) (14) (12) (13) (14) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t115 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t116 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t117 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t118 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (20))))) := A1.Dn K O x hD (13) (6) (13) (14) (15) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t119 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (20))))) := A1.Dn K O x hD (13) (6) (13) (14) (15) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t120 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (22))))) := A1.Dn K O x hD (13) (8) (13) (14) (15) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t121 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (22))))) := A1.Dn K O x hD (13) (8) (13) (14) (15) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t122 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (24))))) := A1.Dn K O x hD (13) (10) (13) (14) (15) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t123 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (24))))) := A1.Dn K O x hD (13) (10) (13) (14) (15) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t124 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (26))))) := A1.Dn K O x hD (13) (12) (13) (14) (15) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t125 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (26))))) := A1.Dn K O x hD (13) (12) (13) (14) (15) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t126 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (28))))) := A1.Dn K O x hD (13) (14) (13) (14) (15) (27) (28) (29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t127 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t128 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (19))))) := A1.Dn K O x hD (14) (4) (14) (15) (16) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t129 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (21))))) := A1.Dn K O x hD (14) (6) (14) (15) (16) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t130 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (23))))) := A1.Dn K O x hD (14) (8) (14) (15) (16) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t131 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (25))))) := A1.Dn K O x hD (14) (10) (14) (15) (16) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t132 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (27))))) := A1.Dn K O x hD (14) (12) (14) (15) (16) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t133 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t134 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (20))))) := A1.Dn K O x hD (15) (4) (15) (16) (17) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t135 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (22))))) := A1.Dn K O x hD (15) (6) (15) (16) (17) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t136 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (24))))) := A1.Dn K O x hD (15) (8) (15) (16) (17) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t137 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (26))))) := A1.Dn K O x hD (15) (10) (15) (16) (17) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t138 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (28))))) := A1.Dn K O x hD (15) (12) (15) (16) (17) (27) (28) (29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1 -- (+3032 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 2 -- (+385 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 17))))) := A1.Dn K O x hD (3) (w + 13) (3) (4) (5) (w + 16) (w + 17) (w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 19))))) := A1.Dn K O x hD (3) (w + 15) (3) (4) (5) (w + 18) (w + 19) (w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 23))))) := A1.Dn K O x hD (3) (w + 19) (3) (4) (5) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 25))))) := A1.Dn K O x hD (3) (w + 21) (3) (4) (5) (w + 24) (w + 25) (w + 26) (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 + 26)) (Zs K x (w + 28))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 27))))) := A1.Dn K O x hD (3) (w + 23) (3) (4) (5) (w + 26) (w + 27) (w + 28) (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 + 28)) (Zs K x (w + 30))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 29))))) := A1.Dn K O x hD (3) (w + 25) (3) (4) (5) (w + 28) (w + 29) (w + 30) (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 (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 t8 : 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 t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 24))))) := A1.Dn K O x hD (4) (w + 19) (4) (5) (6) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 26))))) := A1.Dn K O x hD (4) (w + 21) (4) (5) (6) (w + 25) (w + 26) (w + 27) (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 + 27)) (Zs K x (w + 29))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 28))))) := A1.Dn K O x hD (4) (w + 23) (4) (5) (6) (w + 27) (w + 28) (w + 29) (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)
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 (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 t15 : 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 t16 : 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 t17 : 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 23))))) := A1.Dn K O x hD (5) (w + 17) (5) (6) (7) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 23))))) := A1.Dn K O x hD (5) (w + 17) (5) (6) (7) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 25))))) := A1.Dn K O x hD (5) (w + 19) (5) (6) (7) (w + 24) (w + 25) (w + 26) (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 + 24)) (Zs K x (w + 26))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 25))))) := A1.Dn K O x hD (5) (w + 19) (5) (6) (7) (w + 24) (w + 25) (w + 26) (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 + 26)) (Zs K x (w + 28))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 27))))) := A1.Dn K O x hD (5) (w + 21) (5) (6) (7) (w + 26) (w + 27) (w + 28) (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 + 26)) (Zs K x (w + 28))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 27))))) := A1.Dn K O x hD (5) (w + 21) (5) (6) (7) (w + 26) (w + 27) (w + 28) (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 + 28)) (Zs K x (w + 30))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 29))))) := A1.Dn K O x hD (5) (w + 23) (5) (6) (7) (w + 28) (w + 29) (w + 30) (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 + 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 t30 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 24))))) := A1.Dn K O x hD (6) (w + 17) (6) (7) (8) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t31 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 24))))) := A1.Dn K O x hD (6) (w + 17) (6) (7) (8) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t32 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 26))))) := A1.Dn K O x hD (6) (w + 19) (6) (7) (8) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t33 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 26))))) := A1.Dn K O x hD (6) (w + 19) (6) (7) (8) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 27)) (Zs K x (w + 29))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 28))))) := A1.Dn K O x hD (6) (w + 21) (6) (7) (8) (w + 27) (w + 28) (w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 23))))) := A1.Dn K O x hD (7) (w + 15) (7) (8) (9) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t42 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 23))))) := A1.Dn K O x hD (7) (w + 15) (7) (8) (9) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t43 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 23))))) := A1.Dn K O x hD (7) (w + 15) (7) (8) (9) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t44 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 25))))) := A1.Dn K O x hD (7) (w + 17) (7) (8) (9) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t45 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 25))))) := A1.Dn K O x hD (7) (w + 17) (7) (8) (9) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t46 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 25))))) := A1.Dn K O x hD (7) (w + 17) (7) (8) (9) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 27))))) := A1.Dn K O x hD (7) (w + 19) (7) (8) (9) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 27))))) := A1.Dn K O x hD (7) (w + 19) (7) (8) (9) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 28)) (Zs K x (w + 30))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 29))))) := A1.Dn K O x hD (7) (w + 21) (7) (8) (9) (w + 28) (w + 29) (w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 24))))) := A1.Dn K O x hD (8) (w + 15) (8) (9) (10) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t57 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 24))))) := A1.Dn K O x hD (8) (w + 15) (8) (9) (10) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t58 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 24))))) := A1.Dn K O x hD (8) (w + 15) (8) (9) (10) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t59 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 26))))) := A1.Dn K O x hD (8) (w + 17) (8) (9) (10) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t60 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 26))))) := A1.Dn K O x hD (8) (w + 17) (8) (9) (10) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 27)) (Zs K x (w + 29))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 28))))) := A1.Dn K O x hD (8) (w + 19) (8) (9) (10) (w + 27) (w + 28) (w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t69 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t70 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t71 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t72 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 25))))) := A1.Dn K O x hD (9) (w + 15) (9) (10) (11) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 25))))) := A1.Dn K O x hD (9) (w + 15) (9) (10) (11) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t74 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 25))))) := A1.Dn K O x hD (9) (w + 15) (9) (10) (11) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 27))))) := A1.Dn K O x hD (9) (w + 17) (9) (10) (11) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 27))))) := A1.Dn K O x hD (9) (w + 17) (9) (10) (11) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 28)) (Zs K x (w + 30))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 29))))) := A1.Dn K O x hD (9) (w + 19) (9) (10) (11) (w + 28) (w + 29) (w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t78 : 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 t79 : 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 t80 : 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 t81 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 22))))) := A1.Dn K O x hD (10) (w + 11) (10) (11) (12) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t82 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 22))))) := A1.Dn K O x hD (10) (w + 11) (10) (11) (12) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t83 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 22))))) := A1.Dn K O x hD (10) (w + 11) (10) (11) (12) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 24))))) := A1.Dn K O x hD (10) (w + 13) (10) (11) (12) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 24))))) := A1.Dn K O x hD (10) (w + 13) (10) (11) (12) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 24))))) := A1.Dn K O x hD (10) (w + 13) (10) (11) (12) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 26))))) := A1.Dn K O x hD (10) (w + 15) (10) (11) (12) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 26))))) := A1.Dn K O x hD (10) (w + 15) (10) (11) (12) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 27)) (Zs K x (w + 29))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 28))))) := A1.Dn K O x hD (10) (w + 17) (10) (11) (12) (w + 27) (w + 28) (w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t90 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 17))))) := A1.Dn K O x hD (11) (w + 5) (11) (12) (13) (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 t91 : 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)
have t92 : 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)
have t93 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 21))))) := A1.Dn K O x hD (11) (w + 9) (11) (12) (13) (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 t94 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 21))))) := A1.Dn K O x hD (11) (w + 9) (11) (12) (13) (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 t95 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 21))))) := A1.Dn K O x hD (11) (w + 9) (11) (12) (13) (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 t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 23))))) := A1.Dn K O x hD (11) (w + 11) (11) (12) (13) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 23))))) := A1.Dn K O x hD (11) (w + 11) (11) (12) (13) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 23))))) := A1.Dn K O x hD (11) (w + 11) (11) (12) (13) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 25))))) := A1.Dn K O x hD (11) (w + 13) (11) (12) (13) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 25))))) := A1.Dn K O x hD (11) (w + 13) (11) (12) (13) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 25))))) := A1.Dn K O x hD (11) (w + 13) (11) (12) (13) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 27))))) := A1.Dn K O x hD (11) (w + 15) (11) (12) (13) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 27))))) := A1.Dn K O x hD (11) (w + 15) (11) (12) (13) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 28)) (Zs K x (w + 30))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 29))))) := A1.Dn K O x hD (11) (w + 17) (11) (12) (13) (w + 28) (w + 29) (w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 18))))) := A1.Dn K O x hD (12) (w + 5) (12) (13) (14) (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 t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 20))))) := A1.Dn K O x hD (12) (w + 7) (12) (13) (14) (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 t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 20))))) := A1.Dn K O x hD (12) (w + 7) (12) (13) (14) (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 t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 22))))) := A1.Dn K O x hD (12) (w + 9) (12) (13) (14) (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 t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 22))))) := A1.Dn K O x hD (12) (w + 9) (12) (13) (14) (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 t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 24))))) := A1.Dn K O x hD (12) (w + 11) (12) (13) (14) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 24))))) := A1.Dn K O x hD (12) (w + 11) (12) (13) (14) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 26))))) := A1.Dn K O x hD (12) (w + 13) (12) (13) (14) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 26))))) := A1.Dn K O x hD (12) (w + 13) (12) (13) (14) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 27)) (Zs K x (w + 29))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 28))))) := A1.Dn K O x hD (12) (w + 15) (12) (13) (14) (w + 27) (w + 28) (w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t115 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 17))))) := A1.Dn K O x hD (13) (w + 3) (13) (14) (15) (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 t116 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 19))))) := A1.Dn K O x hD (13) (w + 5) (13) (14) (15) (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 t117 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 19))))) := A1.Dn K O x hD (13) (w + 5) (13) (14) (15) (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 t118 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 21))))) := A1.Dn K O x hD (13) (w + 7) (13) (14) (15) (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 t119 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 21))))) := A1.Dn K O x hD (13) (w + 7) (13) (14) (15) (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 t120 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 23))))) := A1.Dn K O x hD (13) (w + 9) (13) (14) (15) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t121 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 23))))) := A1.Dn K O x hD (13) (w + 9) (13) (14) (15) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t122 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 25))))) := A1.Dn K O x hD (13) (w + 11) (13) (14) (15) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t123 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 25))))) := A1.Dn K O x hD (13) (w + 11) (13) (14) (15) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t124 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 27))))) := A1.Dn K O x hD (13) (w + 13) (13) (14) (15) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t125 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 27))))) := A1.Dn K O x hD (13) (w + 13) (13) (14) (15) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t126 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 28)) (Zs K x (w + 30))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 29))))) := A1.Dn K O x hD (13) (w + 15) (13) (14) (15) (w + 28) (w + 29) (w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t127 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (w + 18))))) := A1.Dn K O x hD (14) (w + 3) (14) (15) (16) (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 t128 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (w + 20))))) := A1.Dn K O x hD (14) (w + 5) (14) (15) (16) (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 t129 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (w + 22))))) := A1.Dn K O x hD (14) (w + 7) (14) (15) (16) (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 t130 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (w + 24))))) := A1.Dn K O x hD (14) (w + 9) (14) (15) (16) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t131 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (w + 26))))) := A1.Dn K O x hD (14) (w + 11) (14) (15) (16) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t132 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 27)) (Zs K x (w + 29))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (w + 28))))) := A1.Dn K O x hD (14) (w + 13) (14) (15) (16) (w + 27) (w + 28) (w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t133 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 17))))) := A1.Dn K O x hD (15) (w + 1) (15) (16) (17) (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 t134 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 19))))) := A1.Dn K O x hD (15) (w + 3) (15) (16) (17) (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 t135 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 21))))) := A1.Dn K O x hD (15) (w + 5) (15) (16) (17) (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 t136 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 23))))) := A1.Dn K O x hD (15) (w + 7) (15) (16) (17) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t137 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 25))))) := A1.Dn K O x hD (15) (w + 9) (15) (16) (17) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t138 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 27))))) := A1.Dn K O x hD (15) (w + 11) (15) (16) (17) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t139 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 28)) (Zs K x (w + 30))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 29))))) := A1.Dn K O x hD (15) (w + 13) (15) (16) (17) (w + 28) (w + 29) (w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1 -- (+3057 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 + 1 + 1 + 0 + 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 (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (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 + 14))) (Zs K -- (+419 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 6))))) := A1.Dn K O x hD (a + 4) (1) (a + 4) (a + 5) (a + 6) (a + 5) (a + 6) (a + 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 (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))))) := A1.Dn K O x hD (a + 4) (3) (a + 4) (a + 5) (a + 6) (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 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 4) (5) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 4) (7) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 4) (9) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 4) (11) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 4) (13) (a + 4) (a + 5) (a + 6) (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 + 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 t8 : 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 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 + 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 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 + 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 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 + 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 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 + 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 t13 : 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 t14 : 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 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 + 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 t18 : 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 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 + 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 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 + 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 t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 12) (1) (a + 12) (a + 13) (a + 14) (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 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 + 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)
have t25 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 t26 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 16) (1) (a + 16) (a + 17) (a + 18) (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 _ _ (A1.nn -- (+307 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 + 1 + 1 + (0 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (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 (a + 15))) (Zs -- (+422 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 7))))) := A1.Dn K O x hD (a + 4) (2) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 9))))) := A1.Dn K O x hD (a + 4) (4) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 4) (6) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 4) (8) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 4) (10) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 4) (12) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 4) (14) (a + 4) (a + 5) (a + 6) (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 + 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 t8 : 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 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 + 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 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 + 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 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 + 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 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 + 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 t13 : 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 t14 : 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 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 + 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 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 + 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 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 + 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 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 + 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 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 + 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 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 + 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 t29 : 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 t30 : 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 t31 : 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 t32 : 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 t33 : 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 t34 : 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 t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 12) (2) (a + 12) (a + 13) (a + 14) (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 t41 : 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)
have t42 : 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)
have t43 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 13) (2) (a + 13) (a + 14) (a + 15) (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 t44 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t45 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 14) (2) (a + 14) (a + 15) (a + 16) (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 t46 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 15) (2) (a + 15) (a + 16) (a + 17) (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 t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 16) (2) (a + 16) (a + 17) (a + 18) (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 _ _ (A1. -- (+813 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 + 1 + 1 + (0 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) -- (+425 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))))) := A1.Dn K O x hD (a + 4) (3) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 4) (5) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 4) (7) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 4) (9) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 4) (11) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 4) (13) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 4) (15) (a + 4) (a + 5) (a + 6) (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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 t23 : 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 t24 : 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 t25 : 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 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 + 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 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 + 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 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 + 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 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 + 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 t30 : 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 t31 : 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 t32 : 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 t33 : 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 t34 : 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 t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : 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 t45 : 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 t46 : 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 t47 : 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 t48 : 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 t49 : 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 t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 12) (1) (a + 12) (a + 13) (a + 14) (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 t56 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 t57 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 t58 : 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)
have t59 : 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)
have t60 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 13) (3) (a + 13) (a + 14) (a + 15) (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 t62 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 13) (5) (a + 13) (a + 14) (a + 15) (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 t63 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 t64 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t65 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t66 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t67 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 15) (3) (a + 15) (a + 16) (a + 17) (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 t68 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 16) (1) (a + 16) (a + 17) (a + 18) (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 t69 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 16) (3) (a + 16) (a + 17) (a + 18) (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 _ _ (A -- (+1319 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 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17)) -- (+428 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 9))))) := A1.Dn K O x hD (a + 4) (4) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 4) (6) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 4) (8) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 4) (10) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 4) (12) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 4) (14) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 4) (16) (a + 4) (a + 5) (a + 6) (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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 t13 : 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 t14 : 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 t30 : 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 t31 : 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 t32 : 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 t33 : 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 t34 : 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 t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : 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 t45 : 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 t46 : 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 t47 : 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 t48 : 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 t49 : 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 t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : 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 t57 : 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 t58 : 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 t59 : 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 t60 : 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 t61 : 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 t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 12) (2) (a + 12) (a + 13) (a + 14) (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 t68 : 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)
have t69 : 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)
have t70 : 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)
have t71 : 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)
have t72 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 13) (2) (a + 13) (a + 14) (a + 15) (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 t74 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 13) (6) (a + 13) (a + 14) (a + 15) (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 t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 14) (2) (a + 14) (a + 15) (a + 16) (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 t78 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t79 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t80 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 14) (6) (a + 14) (a + 15) (a + 16) (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 t81 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 15) (2) (a + 15) (a + 16) (a + 17) (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 t82 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 15) (4) (a + 15) (a + 16) (a + 17) (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 t83 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 16) (2) (a + 16) (a + 17) (a + 18) (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 t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 16) (4) (a + 16) (a + 17) (a + 18) (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 O _ _ -- (+1681 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 1 -- (+431 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 4) (5) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 4) (7) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 4) (9) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 4) (11) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 4) (13) (a + 4) (a + 5) (a + 6) (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 + 19)) (Zs K x (a + 21))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 4) (15) (a + 4) (a + 5) (a + 6) (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 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 4) (17) (a + 4) (a + 5) (a + 6) (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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 t23 : 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 t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 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 + 22))))) := A1.Dn K O x hD (a + 6) (15) (a + 6) (a + 7) (a + 8) (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 t25 : 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 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 + 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 t27 : 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 t28 : 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 t29 : 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 t30 : 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 t31 : 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 t32 : 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 t33 : 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 t34 : 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 t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : 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 t45 : 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 t46 : 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 t47 : 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 t48 : 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 t49 : 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 t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : 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 t57 : 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 t58 : 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 t59 : 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 t60 : 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 t61 : 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 t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : 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 t69 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t70 : 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 t71 : 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 t72 : 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 t73 : 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 t74 : 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 t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 12) (1) (a + 12) (a + 13) (a + 14) (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 t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 t78 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 t79 : 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)
have t80 : 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)
have t81 : 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)
have t82 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t83 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 13) (3) (a + 13) (a + 14) (a + 15) (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 t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 13) (5) (a + 13) (a + 14) (a + 15) (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 t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 13) (5) (a + 13) (a + 14) (a + 15) (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 t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 13) (7) (a + 13) (a + 14) (a + 15) (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 t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 t90 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t91 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t92 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t93 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t94 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 14) (7) (a + 14) (a + 15) (a + 16) (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 t95 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 15) (3) (a + 15) (a + 16) (a + 17) (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 t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 15) (5) (a + 15) (a + 16) (a + 17) (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 t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 16) (1) (a + 16) (a + 17) (a + 18) (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 t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 16) (3) (a + 16) (a + 17) (a + 18) (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 t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 16) (5) (a + 16) (a + 17) (a + 18) (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 K O _ -- (+2043 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + -- (+434 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 4) (6) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 4) (8) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 4) (10) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 4) (12) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 4) (14) (a + 4) (a + 5) (a + 6) (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 + 20)) (Zs K x (a + 22))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 4) (16) (a + 4) (a + 5) (a + 6) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 4) (18) (a + 4) (a + 5) (a + 6) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 t23 : 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 t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t25 : 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 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 + 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 t27 : 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 t28 : 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 t29 : 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 t30 : 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 t31 : 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 t32 : 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 t33 : 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 t34 : 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 t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : 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 t45 : 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 t46 : 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 t47 : 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 t48 : 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 t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 8) (14) (a + 8) (a + 9) (a + 10) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : 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 t57 : 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 t58 : 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 t59 : 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 t60 : 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 t61 : 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 t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : 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 t69 : 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 t70 : 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 t71 : 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 t72 : 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 t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t74 : 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 t75 : 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 t76 : 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 t77 : 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 t78 : 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 t79 : 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 t80 : 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 t81 : 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 t82 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t83 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 12) (2) (a + 12) (a + 13) (a + 14) (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 t84 : 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)
have t85 : 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)
have t86 : 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)
have t87 : 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)
have t88 : 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)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t90 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t91 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 12) (10) (a + 12) (a + 13) (a + 14) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t92 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 13) (2) (a + 13) (a + 14) (a + 15) (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 t93 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t94 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t95 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 13) (6) (a + 13) (a + 14) (a + 15) (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 t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 13) (6) (a + 13) (a + 14) (a + 15) (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 t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 13) (8) (a + 13) (a + 14) (a + 15) (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 t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 14) (2) (a + 14) (a + 15) (a + 16) (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 t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 14) (6) (a + 14) (a + 15) (a + 16) (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 t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 14) (6) (a + 14) (a + 15) (a + 16) (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 t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 15) (2) (a + 15) (a + 16) (a + 17) (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 t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 15) (4) (a + 15) (a + 16) (a + 17) (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 t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 15) (6) (a + 15) (a + 16) (a + 17) (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 t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 16) (2) (a + 16) (a + 17) (a + 18) (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 t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 16) (4) (a + 16) (a + 17) (a + 18) (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 t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 16) (6) (a + 16) (a + 17) (a + 18) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+2295 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a -- (+436 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 4) (7) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 4) (9) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 4) (11) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 4) (13) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 4) (15) (a + 4) (a + 5) (a + 6) (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 + 21)) (Zs K x (a + 23))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 4) (17) (a + 4) (a + 5) (a + 6) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 4) (19) (a + 4) (a + 5) (a + 6) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have 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 + 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 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 + 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 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 + 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 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 + 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 t11 : 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 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 + 23))))) := A1.Dn K O x hD (a + 5) (17) (a + 5) (a + 6) (a + 7) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 6) (15) (a + 6) (a + 7) (a + 8) (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 + 21)) (Zs K x (a + 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 + 22))))) := A1.Dn K O x hD (a + 6) (15) (a + 6) (a + 7) (a + 8) (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 t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 6) (17) (a + 6) (a + 7) (a + 8) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have 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 + 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 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 + 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 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 + 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 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 + 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 t29 : 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 t30 : 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 t31 : 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 t32 : 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 t33 : 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 t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 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 + 23))))) := A1.Dn K O x hD (a + 7) (15) (a + 7) (a + 8) (a + 9) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : 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 t45 : 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 t46 : 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 t47 : 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 t48 : 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 t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 8) (15) (a + 8) (a + 9) (a + 10) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : 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 t57 : 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 t58 : 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 t59 : 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 t60 : 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 t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 9) (13) (a + 9) (a + 10) (a + 11) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : 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 t69 : 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 t70 : 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 t71 : 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 t72 : 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 t73 : 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 t74 : 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 t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 10) (13) (a + 10) (a + 11) (a + 12) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t78 : 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 t79 : 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 t80 : 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 t81 : 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 t82 : 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 t83 : 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 t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 11) (11) (a + 11) (a + 12) (a + 13) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 12) (1) (a + 12) (a + 13) (a + 14) (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 t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 t90 : 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)
have t91 : 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)
have t92 : 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)
have t93 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t94 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t95 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 12) (11) (a + 12) (a + 13) (a + 14) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 13) (3) (a + 13) (a + 14) (a + 15) (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 t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 13) (5) (a + 13) (a + 14) (a + 15) (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 t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 13) (5) (a + 13) (a + 14) (a + 15) (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 t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 13) (7) (a + 13) (a + 14) (a + 15) (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 t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 13) (7) (a + 13) (a + 14) (a + 15) (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 t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 13) (9) (a + 13) (a + 14) (a + 15) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 14) (7) (a + 14) (a + 15) (a + 16) (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 t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 14) (7) (a + 14) (a + 15) (a + 16) (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 t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 14) (9) (a + 14) (a + 15) (a + 16) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 15) (3) (a + 15) (a + 16) (a + 17) (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 t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 15) (5) (a + 15) (a + 16) (a + 17) (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 t115 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 15) (7) (a + 15) (a + 16) (a + 17) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t116 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 16) (1) (a + 16) (a + 17) (a + 18) (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 t117 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 16) (3) (a + 16) (a + 17) (a + 18) (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 t118 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 16) (5) (a + 16) (a + 17) (a + 18) (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 t119 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 16) (7) (a + 16) (a + 17) (a + 18) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+2547 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x -- (+438 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 4) (8) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 4) (10) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 4) (12) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 4) (14) (a + 4) (a + 5) (a + 6) (a + 18) (a + 19) (a + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 4) (16) (a + 4) (a + 5) (a + 6) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 4) (18) (a + 4) (a + 5) (a + 6) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 4) (20) (a + 4) (a + 5) (a + 6) (a + 24) (a + 25) (a + 26) (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 + 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 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 + 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 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 + 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 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 + 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 t11 : 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 5) (18) (a + 5) (a + 6) (a + 7) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have 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 + 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 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 + 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 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 + 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 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 + 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 6) (18) (a + 6) (a + 7) (a + 8) (a + 24) (a + 25) (a + 26) (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 + 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 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 + 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 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 + 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 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 + 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 t29 : 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 t30 : 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 t31 : 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 t32 : 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 t33 : 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 t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 7) (16) (a + 7) (a + 8) (a + 9) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : 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 t45 : 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 t46 : 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 t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 8) (14) (a + 8) (a + 9) (a + 10) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 8) (14) (a + 8) (a + 9) (a + 10) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 8) (16) (a + 8) (a + 9) (a + 10) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : 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 t57 : 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 t58 : 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 t59 : 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 t60 : 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 t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 9) (14) (a + 9) (a + 10) (a + 11) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : 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 t69 : 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 t70 : 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 t71 : 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 t72 : 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 t73 : 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 t74 : 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 t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 10) (14) (a + 10) (a + 11) (a + 12) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t78 : 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 t79 : 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 t80 : 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 t81 : 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 t82 : 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 t83 : 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 t84 : 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 t85 : 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 t86 : 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 t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 11) (12) (a + 11) (a + 12) (a + 13) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t90 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 12) (2) (a + 12) (a + 13) (a + 14) (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 t91 : 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)
have t92 : 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)
have t93 : 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)
have t94 : 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)
have t95 : 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)
have t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 12) (10) (a + 12) (a + 13) (a + 14) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 12) (10) (a + 12) (a + 13) (a + 14) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 12) (12) (a + 12) (a + 13) (a + 14) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 13) (2) (a + 13) (a + 14) (a + 15) (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 t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 13) (6) (a + 13) (a + 14) (a + 15) (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 t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 13) (6) (a + 13) (a + 14) (a + 15) (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 t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 13) (8) (a + 13) (a + 14) (a + 15) (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 t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 13) (8) (a + 13) (a + 14) (a + 15) (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 t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 13) (10) (a + 13) (a + 14) (a + 15) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 14) (2) (a + 14) (a + 15) (a + 16) (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 t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 14) (6) (a + 14) (a + 15) (a + 16) (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 t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 14) (6) (a + 14) (a + 15) (a + 16) (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 t115 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t116 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t117 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 14) (10) (a + 14) (a + 15) (a + 16) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t118 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 15) (2) (a + 15) (a + 16) (a + 17) (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 t119 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 15) (4) (a + 15) (a + 16) (a + 17) (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 t120 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 15) (6) (a + 15) (a + 16) (a + 17) (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 t121 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 15) (8) (a + 15) (a + 16) (a + 17) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t122 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 16) (2) (a + 16) (a + 17) (a + 18) (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 t123 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 16) (4) (a + 16) (a + 17) (a + 18) (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 t124 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 16) (6) (a + 16) (a + 17) (a + 18) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t125 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 16) (8) (a + 16) (a + 17) (a + 18) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+2699 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K -- (+440 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 4) (9) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 4) (11) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 4) (13) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 4) (15) (a + 4) (a + 5) (a + 6) (a + 19) (a + 20) (a + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 4) (17) (a + 4) (a + 5) (a + 6) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 4) (19) (a + 4) (a + 5) (a + 6) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 4) (21) (a + 4) (a + 5) (a + 6) (a + 25) (a + 26) (a + 27) (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 + 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 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 + 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 t9 : 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 t10 : 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 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 + 23))))) := A1.Dn K O x hD (a + 5) (17) (a + 5) (a + 6) (a + 7) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 5) (19) (a + 5) (a + 6) (a + 7) (a + 24) (a + 25) (a + 26) (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 + 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 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 + 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 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 + 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 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 + 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 t17 : 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 t18 : 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 t19 : 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 t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 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 + 22))))) := A1.Dn K O x hD (a + 6) (15) (a + 6) (a + 7) (a + 8) (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 t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 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 + 22))))) := A1.Dn K O x hD (a + 6) (15) (a + 6) (a + 7) (a + 8) (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 t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 6) (17) (a + 6) (a + 7) (a + 8) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 6) (17) (a + 6) (a + 7) (a + 8) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 6) (19) (a + 6) (a + 7) (a + 8) (a + 25) (a + 26) (a + 27) (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 + 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 t26 : 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 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 + 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 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 + 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 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 + 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 t30 : 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 t31 : 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 t32 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 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 + 23))))) := A1.Dn K O x hD (a + 7) (15) (a + 7) (a + 8) (a + 9) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t33 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 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 + 23))))) := A1.Dn K O x hD (a + 7) (15) (a + 7) (a + 8) (a + 9) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 7) (17) (a + 7) (a + 8) (a + 9) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : 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 t45 : 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 t46 : 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 t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 8) (15) (a + 8) (a + 9) (a + 10) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 8) (15) (a + 8) (a + 9) (a + 10) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 8) (17) (a + 8) (a + 9) (a + 10) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : 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 t57 : 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 t58 : 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 t59 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 9) (13) (a + 9) (a + 10) (a + 11) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t60 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 9) (13) (a + 9) (a + 10) (a + 11) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 9) (15) (a + 9) (a + 10) (a + 11) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : 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 t69 : 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 t70 : 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 t71 : 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 t72 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t74 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 10) (13) (a + 10) (a + 11) (a + 12) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 10) (13) (a + 10) (a + 11) (a + 12) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 10) (15) (a + 10) (a + 11) (a + 12) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t78 : 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 t79 : 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 t80 : 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 t81 : 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 t82 : 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 t83 : 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 t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 11) (11) (a + 11) (a + 12) (a + 13) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 11) (11) (a + 11) (a + 12) (a + 13) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 11) (13) (a + 11) (a + 12) (a + 13) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t90 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 12) (1) (a + 12) (a + 13) (a + 14) (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 t91 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 t92 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 t93 : 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)
have t94 : 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)
have t95 : 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)
have t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 12) (11) (a + 12) (a + 13) (a + 14) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 12) (11) (a + 12) (a + 13) (a + 14) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 12) (13) (a + 12) (a + 13) (a + 14) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 13) (3) (a + 13) (a + 14) (a + 15) (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 t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 13) (5) (a + 13) (a + 14) (a + 15) (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 t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 13) (5) (a + 13) (a + 14) (a + 15) (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 t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 13) (7) (a + 13) (a + 14) (a + 15) (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 t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 13) (7) (a + 13) (a + 14) (a + 15) (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 t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 13) (9) (a + 13) (a + 14) (a + 15) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 13) (9) (a + 13) (a + 14) (a + 15) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 13) (11) (a + 13) (a + 14) (a + 15) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t115 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t116 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t117 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t118 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 14) (7) (a + 14) (a + 15) (a + 16) (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 t119 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 14) (7) (a + 14) (a + 15) (a + 16) (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 t120 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 14) (9) (a + 14) (a + 15) (a + 16) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t121 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 14) (9) (a + 14) (a + 15) (a + 16) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t122 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 14) (11) (a + 14) (a + 15) (a + 16) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t123 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 15) (3) (a + 15) (a + 16) (a + 17) (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 t124 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 15) (5) (a + 15) (a + 16) (a + 17) (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 t125 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 15) (7) (a + 15) (a + 16) (a + 17) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t126 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 15) (9) (a + 15) (a + 16) (a + 17) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t127 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 16) (1) (a + 16) (a + 17) (a + 18) (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 t128 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 16) (3) (a + 16) (a + 17) (a + 18) (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 t129 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 16) (5) (a + 16) (a + 17) (a + 18) (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 t130 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 16) (7) (a + 16) (a + 17) (a + 18) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t131 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 16) (9) (a + 16) (a + 17) (a + 18) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_ad -- (+2851 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs -- (+442 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 4) (10) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 4) (12) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 4) (14) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 4) (16) (a + 4) (a + 5) (a + 6) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 4) (18) (a + 4) (a + 5) (a + 6) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 4) (20) (a + 4) (a + 5) (a + 6) (a + 24) (a + 25) (a + 26) (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 + 26)) (Zs K x (a + 28))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 4) (22) (a + 4) (a + 5) (a + 6) (a + 26) (a + 27) (a + 28) (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 + 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 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 + 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 t9 : 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 t10 : 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 5) (18) (a + 5) (a + 6) (a + 7) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 5) (20) (a + 5) (a + 6) (a + 7) (a + 25) (a + 26) (a + 27) (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 + 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 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 + 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 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 + 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 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 + 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 t17 : 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 t18 : 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 t19 : 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 t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 6) (18) (a + 6) (a + 7) (a + 8) (a + 24) (a + 25) (a + 26) (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 + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 6) (18) (a + 6) (a + 7) (a + 8) (a + 24) (a + 25) (a + 26) (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 + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 6) (20) (a + 6) (a + 7) (a + 8) (a + 26) (a + 27) (a + 28) (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 + 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 t26 : 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 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 + 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 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 + 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 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 + 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 t30 : 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 t31 : 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 t32 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 7) (16) (a + 7) (a + 8) (a + 9) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t33 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 7) (16) (a + 7) (a + 8) (a + 9) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 7) (18) (a + 7) (a + 8) (a + 9) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 8) (14) (a + 8) (a + 9) (a + 10) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t45 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 8) (14) (a + 8) (a + 9) (a + 10) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t46 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 8) (14) (a + 8) (a + 9) (a + 10) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 8) (16) (a + 8) (a + 9) (a + 10) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 8) (16) (a + 8) (a + 9) (a + 10) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 8) (18) (a + 8) (a + 9) (a + 10) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : 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 t57 : 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 t58 : 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 t59 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 9) (14) (a + 9) (a + 10) (a + 11) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t60 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 9) (14) (a + 9) (a + 10) (a + 11) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 9) (16) (a + 9) (a + 10) (a + 11) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : 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 t69 : 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 t70 : 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 t71 : 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 t72 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t74 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 10) (14) (a + 10) (a + 11) (a + 12) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 10) (14) (a + 10) (a + 11) (a + 12) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 10) (16) (a + 10) (a + 11) (a + 12) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t78 : 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 t79 : 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 t80 : 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 t81 : 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 t82 : 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 t83 : 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 t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 11) (12) (a + 11) (a + 12) (a + 13) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 11) (12) (a + 11) (a + 12) (a + 13) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 11) (14) (a + 11) (a + 12) (a + 13) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t90 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 12) (2) (a + 12) (a + 13) (a + 14) (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 t91 : 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)
have t92 : 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)
have t93 : 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)
have t94 : 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)
have t95 : 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)
have t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 12) (10) (a + 12) (a + 13) (a + 14) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 12) (10) (a + 12) (a + 13) (a + 14) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 12) (10) (a + 12) (a + 13) (a + 14) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 12) (12) (a + 12) (a + 13) (a + 14) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 12) (12) (a + 12) (a + 13) (a + 14) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 12) (14) (a + 12) (a + 13) (a + 14) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 13) (2) (a + 13) (a + 14) (a + 15) (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 t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 13) (6) (a + 13) (a + 14) (a + 15) (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 t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 13) (6) (a + 13) (a + 14) (a + 15) (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 t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 13) (8) (a + 13) (a + 14) (a + 15) (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 t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 13) (8) (a + 13) (a + 14) (a + 15) (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 t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 13) (10) (a + 13) (a + 14) (a + 15) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 13) (10) (a + 13) (a + 14) (a + 15) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 13) (12) (a + 13) (a + 14) (a + 15) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t115 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 14) (2) (a + 14) (a + 15) (a + 16) (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 t116 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t117 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t118 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 14) (6) (a + 14) (a + 15) (a + 16) (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 t119 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 14) (6) (a + 14) (a + 15) (a + 16) (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 t120 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t121 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t122 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 14) (10) (a + 14) (a + 15) (a + 16) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t123 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 14) (10) (a + 14) (a + 15) (a + 16) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t124 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 14) (12) (a + 14) (a + 15) (a + 16) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t125 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 15) (2) (a + 15) (a + 16) (a + 17) (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 t126 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 15) (4) (a + 15) (a + 16) (a + 17) (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 t127 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 15) (6) (a + 15) (a + 16) (a + 17) (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 t128 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 15) (8) (a + 15) (a + 16) (a + 17) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t129 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 15) (10) (a + 15) (a + 16) (a + 17) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t130 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 16) (2) (a + 16) (a + 17) (a + 18) (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 t131 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 16) (4) (a + 16) (a + 17) (a + 18) (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 t132 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 16) (6) (a + 16) (a + 17) (a + 18) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t133 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 16) (8) (a + 16) (a + 17) (a + 18) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t134 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 16) (10) (a + 16) (a + 17) (a + 18) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_ -- (+2928 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Z -- (+444 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 4) (11) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 4) (13) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 4) (15) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 4) (17) (a + 4) (a + 5) (a + 6) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 4) (19) (a + 4) (a + 5) (a + 6) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 4) (21) (a + 4) (a + 5) (a + 6) (a + 25) (a + 26) (a + 27) (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 + 27)) (Zs K x (a + 29))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 28))))) := A1.Dn K O x hD (a + 4) (23) (a + 4) (a + 5) (a + 6) (a + 27) (a + 28) (a + 29) (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 + 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 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 + 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 t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 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 + 23))))) := A1.Dn K O x hD (a + 5) (17) (a + 5) (a + 6) (a + 7) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 5) (19) (a + 5) (a + 6) (a + 7) (a + 24) (a + 25) (a + 26) (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 + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 5) (21) (a + 5) (a + 6) (a + 7) (a + 26) (a + 27) (a + 28) (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 + 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 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 + 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 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 + 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 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 + 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 t17 : 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 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 + 22))))) := A1.Dn K O x hD (a + 6) (15) (a + 6) (a + 7) (a + 8) (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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 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 + 22))))) := A1.Dn K O x hD (a + 6) (15) (a + 6) (a + 7) (a + 8) (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 t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 6) (17) (a + 6) (a + 7) (a + 8) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 6) (17) (a + 6) (a + 7) (a + 8) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 6) (19) (a + 6) (a + 7) (a + 8) (a + 25) (a + 26) (a + 27) (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 + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 6) (19) (a + 6) (a + 7) (a + 8) (a + 25) (a + 26) (a + 27) (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 + 27)) (Zs K x (a + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 6) (21) (a + 6) (a + 7) (a + 8) (a + 27) (a + 28) (a + 29) (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 + 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 t26 : 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 t27 : 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 t28 : 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 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 + 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 t30 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 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 + 23))))) := A1.Dn K O x hD (a + 7) (15) (a + 7) (a + 8) (a + 9) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t31 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 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 + 23))))) := A1.Dn K O x hD (a + 7) (15) (a + 7) (a + 8) (a + 9) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t32 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 7) (17) (a + 7) (a + 8) (a + 9) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t33 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 7) (17) (a + 7) (a + 8) (a + 9) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 7) (19) (a + 7) (a + 8) (a + 9) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : 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 t42 : 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 t43 : 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 t44 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 8) (15) (a + 8) (a + 9) (a + 10) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t45 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 8) (15) (a + 8) (a + 9) (a + 10) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t46 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 8) (15) (a + 8) (a + 9) (a + 10) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 8) (17) (a + 8) (a + 9) (a + 10) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 8) (17) (a + 8) (a + 9) (a + 10) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 8) (19) (a + 8) (a + 9) (a + 10) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 9) (13) (a + 9) (a + 10) (a + 11) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t57 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 9) (13) (a + 9) (a + 10) (a + 11) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t58 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 9) (13) (a + 9) (a + 10) (a + 11) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t59 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 9) (15) (a + 9) (a + 10) (a + 11) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t60 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 9) (15) (a + 9) (a + 10) (a + 11) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 9) (17) (a + 9) (a + 10) (a + 11) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t69 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t70 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t71 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t72 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 10) (13) (a + 10) (a + 11) (a + 12) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 10) (13) (a + 10) (a + 11) (a + 12) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t74 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 10) (13) (a + 10) (a + 11) (a + 12) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 10) (15) (a + 10) (a + 11) (a + 12) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 10) (15) (a + 10) (a + 11) (a + 12) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 10) (17) (a + 10) (a + 11) (a + 12) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t78 : 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 t79 : 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 t80 : 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 t81 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t82 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t83 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 11) (11) (a + 11) (a + 12) (a + 13) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 11) (11) (a + 11) (a + 12) (a + 13) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 11) (11) (a + 11) (a + 12) (a + 13) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 11) (13) (a + 11) (a + 12) (a + 13) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 11) (13) (a + 11) (a + 12) (a + 13) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 11) (15) (a + 11) (a + 12) (a + 13) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t90 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 t91 : 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)
have t92 : 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)
have t93 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t94 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t95 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 12) (11) (a + 12) (a + 13) (a + 14) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 12) (11) (a + 12) (a + 13) (a + 14) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 12) (11) (a + 12) (a + 13) (a + 14) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 12) (13) (a + 12) (a + 13) (a + 14) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 12) (13) (a + 12) (a + 13) (a + 14) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 12) (15) (a + 12) (a + 13) (a + 14) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 13) (3) (a + 13) (a + 14) (a + 15) (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 t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 13) (5) (a + 13) (a + 14) (a + 15) (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 t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 13) (5) (a + 13) (a + 14) (a + 15) (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 t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 13) (7) (a + 13) (a + 14) (a + 15) (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 t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 13) (7) (a + 13) (a + 14) (a + 15) (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 t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 13) (9) (a + 13) (a + 14) (a + 15) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 13) (9) (a + 13) (a + 14) (a + 15) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 13) (11) (a + 13) (a + 14) (a + 15) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 13) (11) (a + 13) (a + 14) (a + 15) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 13) (13) (a + 13) (a + 14) (a + 15) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t115 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 t116 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t117 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t118 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t119 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t120 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 14) (7) (a + 14) (a + 15) (a + 16) (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 t121 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 14) (7) (a + 14) (a + 15) (a + 16) (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 t122 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 14) (9) (a + 14) (a + 15) (a + 16) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t123 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 14) (9) (a + 14) (a + 15) (a + 16) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t124 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 14) (11) (a + 14) (a + 15) (a + 16) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t125 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 14) (11) (a + 14) (a + 15) (a + 16) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t126 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 28))))) := A1.Dn K O x hD (a + 14) (13) (a + 14) (a + 15) (a + 16) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t127 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 15) (3) (a + 15) (a + 16) (a + 17) (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 t128 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 15) (5) (a + 15) (a + 16) (a + 17) (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 t129 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 15) (7) (a + 15) (a + 16) (a + 17) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t130 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 15) (9) (a + 15) (a + 16) (a + 17) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t131 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 15) (11) (a + 15) (a + 16) (a + 17) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t132 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 16) (1) (a + 16) (a + 17) (a + 18) (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 t133 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 16) (3) (a + 16) (a + 17) (a + 18) (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 t134 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 16) (5) (a + 16) (a + 17) (a + 18) (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 t135 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 16) (7) (a + 16) (a + 17) (a + 18) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t136 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 16) (9) (a + 16) (a + 17) (a + 18) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t137 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 28))))) := A1.Dn K O x hD (a + 16) (11) (a + 16) (a + 17) (a + 18) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.n -- (+3005 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) -- (+446 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 4) (12) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 4) (14) (a + 4) (a + 5) (a + 6) (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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 4) (16) (a + 4) (a + 5) (a + 6) (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 + 22)) (Zs K x (a + 24))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 4) (18) (a + 4) (a + 5) (a + 6) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 4) (20) (a + 4) (a + 5) (a + 6) (a + 24) (a + 25) (a + 26) (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 + 26)) (Zs K x (a + 28))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 4) (22) (a + 4) (a + 5) (a + 6) (a + 26) (a + 27) (a + 28) (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 + 28)) (Zs K x (a + 30))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 29))))) := A1.Dn K O x hD (a + 4) (24) (a + 4) (a + 5) (a + 6) (a + 28) (a + 29) (a + 30) (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 + 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 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 + 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 t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 5) (18) (a + 5) (a + 6) (a + 7) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 5) (20) (a + 5) (a + 6) (a + 7) (a + 25) (a + 26) (a + 27) (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 + 27)) (Zs K x (a + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 5) (22) (a + 5) (a + 6) (a + 7) (a + 27) (a + 28) (a + 29) (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 + 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 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 + 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 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 + 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 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 + 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 t17 : 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 6) (18) (a + 6) (a + 7) (a + 8) (a + 24) (a + 25) (a + 26) (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 + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 6) (18) (a + 6) (a + 7) (a + 8) (a + 24) (a + 25) (a + 26) (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 + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 6) (20) (a + 6) (a + 7) (a + 8) (a + 26) (a + 27) (a + 28) (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 + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 6) (20) (a + 6) (a + 7) (a + 8) (a + 26) (a + 27) (a + 28) (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 + 28)) (Zs K x (a + 30))) (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 + 29))))) := A1.Dn K O x hD (a + 6) (22) (a + 6) (a + 7) (a + 8) (a + 28) (a + 29) (a + 30) (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 + 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 t26 : 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 t27 : 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 t28 : 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 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 + 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 t30 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 7) (16) (a + 7) (a + 8) (a + 9) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t31 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 7) (16) (a + 7) (a + 8) (a + 9) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t32 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 7) (18) (a + 7) (a + 8) (a + 9) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t33 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 7) (18) (a + 7) (a + 8) (a + 9) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 7) (20) (a + 7) (a + 8) (a + 9) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t35 : 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 t36 : 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 t37 : 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 t38 : 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 t39 : 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 t40 : 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 t41 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 8) (14) (a + 8) (a + 9) (a + 10) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t42 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 8) (14) (a + 8) (a + 9) (a + 10) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t43 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 8) (14) (a + 8) (a + 9) (a + 10) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t44 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 8) (16) (a + 8) (a + 9) (a + 10) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t45 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 8) (16) (a + 8) (a + 9) (a + 10) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t46 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 8) (16) (a + 8) (a + 9) (a + 10) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 8) (18) (a + 8) (a + 9) (a + 10) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 8) (18) (a + 8) (a + 9) (a + 10) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (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 + 29))))) := A1.Dn K O x hD (a + 8) (20) (a + 8) (a + 9) (a + 10) (a + 28) (a + 29) (a + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t50 : 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 t51 : 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 t52 : 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 t53 : 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 t54 : 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 t55 : 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 t56 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 9) (14) (a + 9) (a + 10) (a + 11) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t57 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 9) (14) (a + 9) (a + 10) (a + 11) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t58 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 9) (14) (a + 9) (a + 10) (a + 11) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t59 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 9) (16) (a + 9) (a + 10) (a + 11) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t60 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 9) (16) (a + 9) (a + 10) (a + 11) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 9) (18) (a + 9) (a + 10) (a + 11) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t62 : 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 t63 : 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 t64 : 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 t65 : 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 t66 : 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 t67 : 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 t68 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t69 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t70 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t71 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t72 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 10) (14) (a + 10) (a + 11) (a + 12) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 10) (14) (a + 10) (a + 11) (a + 12) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t74 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 10) (14) (a + 10) (a + 11) (a + 12) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 10) (16) (a + 10) (a + 11) (a + 12) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 10) (16) (a + 10) (a + 11) (a + 12) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (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 + 29))))) := A1.Dn K O x hD (a + 10) (18) (a + 10) (a + 11) (a + 12) (a + 28) (a + 29) (a + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t78 : 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 t79 : 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 t80 : 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 t81 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t82 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t83 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 11) (12) (a + 11) (a + 12) (a + 13) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 11) (12) (a + 11) (a + 12) (a + 13) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 11) (12) (a + 11) (a + 12) (a + 13) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 11) (14) (a + 11) (a + 12) (a + 13) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 11) (14) (a + 11) (a + 12) (a + 13) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 11) (16) (a + 11) (a + 12) (a + 13) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t90 : 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)
have t91 : 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)
have t92 : 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)
have t93 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t94 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t95 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 12) (10) (a + 12) (a + 13) (a + 14) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 12) (10) (a + 12) (a + 13) (a + 14) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 12) (10) (a + 12) (a + 13) (a + 14) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 12) (12) (a + 12) (a + 13) (a + 14) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 12) (12) (a + 12) (a + 13) (a + 14) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 12) (12) (a + 12) (a + 13) (a + 14) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 12) (14) (a + 12) (a + 13) (a + 14) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 12) (14) (a + 12) (a + 13) (a + 14) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (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 + 29))))) := A1.Dn K O x hD (a + 12) (16) (a + 12) (a + 13) (a + 14) (a + 28) (a + 29) (a + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t105 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 13) (4) (a + 13) (a + 14) (a + 15) (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 t106 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 13) (6) (a + 13) (a + 14) (a + 15) (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 t107 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 13) (6) (a + 13) (a + 14) (a + 15) (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 t108 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 13) (8) (a + 13) (a + 14) (a + 15) (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 t109 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 13) (8) (a + 13) (a + 14) (a + 15) (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 t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 13) (10) (a + 13) (a + 14) (a + 15) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 13) (10) (a + 13) (a + 14) (a + 15) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 13) (12) (a + 13) (a + 14) (a + 15) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 13) (12) (a + 13) (a + 14) (a + 15) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 28))))) := A1.Dn K O x hD (a + 13) (14) (a + 13) (a + 14) (a + 15) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t115 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 14) (2) (a + 14) (a + 15) (a + 16) (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 t116 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t117 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t118 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 14) (6) (a + 14) (a + 15) (a + 16) (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 t119 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 14) (6) (a + 14) (a + 15) (a + 16) (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 t120 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t121 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t122 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 14) (10) (a + 14) (a + 15) (a + 16) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t123 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 14) (10) (a + 14) (a + 15) (a + 16) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t124 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 14) (12) (a + 14) (a + 15) (a + 16) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t125 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 14) (12) (a + 14) (a + 15) (a + 16) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t126 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 29))))) := A1.Dn K O x hD (a + 14) (14) (a + 14) (a + 15) (a + 16) (a + 28) (a + 29) (a + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t127 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 15) (2) (a + 15) (a + 16) (a + 17) (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 t128 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 15) (4) (a + 15) (a + 16) (a + 17) (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 t129 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 15) (6) (a + 15) (a + 16) (a + 17) (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 t130 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 15) (8) (a + 15) (a + 16) (a + 17) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t131 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 15) (10) (a + 15) (a + 16) (a + 17) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t132 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 28))))) := A1.Dn K O x hD (a + 15) (12) (a + 15) (a + 16) (a + 17) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t133 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 16) (2) (a + 16) (a + 17) (a + 18) (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 t134 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 16) (4) (a + 16) (a + 17) (a + 18) (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 t135 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 16) (6) (a + 16) (a + 17) (a + 18) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t136 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 16) (8) (a + 16) (a + 17) (a + 18) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t137 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 16) (10) (a + 16) (a + 17) (a + 18) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t138 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 29))))) := A1.Dn K O x hD (a + 16) (12) (a + 16) (a + 17) (a + 18) (a + 28) (a + 29) (a + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1 -- (+3032 chars; full line in the Zenodo source)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (K.add (K.add (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 -- (+506 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + w + 18))))) := A1.Dn K O x hD (a + 4) (w + 13) (a + 4) (a + 5) (a + 6) (a + w + 17) (a + w + 18) (a + w + 19) (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 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 4) (w + 15) (a + 4) (a + 5) (a + 6) (a + w + 19) (a + w + 20) (a + w + 21) (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 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 + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 4) (w + 17) (a + 4) (a + 5) (a + 6) (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 4) (w + 19) (a + 4) (a + 5) (a + 6) (a + w + 23) (a + w + 24) (a + w + 25) (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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + w + 26))))) := A1.Dn K O x hD (a + 4) (w + 21) (a + 4) (a + 5) (a + 6) (a + w + 25) (a + w + 26) (a + w + 27) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + w + 28))))) := A1.Dn K O x hD (a + 4) (w + 23) (a + 4) (a + 5) (a + 6) (a + w + 27) (a + w + 28) (a + w + 29) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 29)) (Zs K x (a + w + 31))) (Zs K x (a + 5))) (K.neg (K.mul (K.add (Zs K x (a + 4)) (Zs K x (a + 6))) (Zs K x (a + w + 30))))) := A1.Dn K O x hD (a + 4) (w + 25) (a + 4) (a + 5) (a + 6) (a + w + 29) (a + w + 30) (a + w + 31) (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 t7 : 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) (b -- (+10 chars; full line in the Zenodo source)
have t8 : 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) (b -- (+10 chars; full line in the Zenodo source)
have t9 : 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) (b -- (+10 chars; full line in the Zenodo source)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 5) (w + 19) (a + 5) (a + 6) (a + 7) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 5) (w + 21) (a + 5) (a + 6) (a + 7) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 28)) (Zs K x (a + w + 30))) (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 + 29))))) := A1.Dn K O x hD (a + 5) (w + 23) (a + 5) (a + 6) (a + 7) (a + w + 28) (a + w + 29) (a + w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 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 + 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) ( -- (+11 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 + 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) ( -- (+11 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 + 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) ( -- (+11 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 + 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) ( -- (+11 chars; full line in the Zenodo source)
have t17 : 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) ( -- (+11 chars; full line in the Zenodo source)
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 6) (w + 17) (a + 6) (a + 7) (a + 8) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 6) (w + 17) (a + 6) (a + 7) (a + 8) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 6) (w + 19) (a + 6) (a + 7) (a + 8) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 6) (w + 19) (a + 6) (a + 7) (a + 8) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 6) (w + 21) (a + 6) (a + 7) (a + 8) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 6) (w + 21) (a + 6) (a + 7) (a + 8) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 29)) (Zs K x (a + w + 31))) (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 + 30))))) := A1.Dn K O x hD (a + 6) (w + 23) (a + 6) (a + 7) (a + 8) (a + w + 29) (a + w + 30) (a + w + 31) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t25 : 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) ( -- (+11 chars; full line in the Zenodo source)
have t26 : 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) ( -- (+11 chars; full line in the Zenodo source)
have t27 : 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) ( -- (+11 chars; full line in the Zenodo source)
have t28 : 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) ( -- (+11 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 + 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) ( -- (+11 chars; full line in the Zenodo source)
have t30 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 7) (w + 17) (a + 7) (a + 8) (a + 9) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t31 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 7) (w + 17) (a + 7) (a + 8) (a + 9) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t32 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 7) (w + 19) (a + 7) (a + 8) (a + 9) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t33 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 7) (w + 19) (a + 7) (a + 8) (a + 9) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t34 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 28)) (Zs K x (a + w + 30))) (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 + 29))))) := A1.Dn K O x hD (a + 7) (w + 21) (a + 7) (a + 8) (a + 9) (a + w + 28) (a + w + 29) (a + w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) ( -- (+11 chars; full line in the Zenodo source)
have t35 : 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) -- (+12 chars; full line in the Zenodo source)
have t36 : 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) -- (+13 chars; full line in the Zenodo source)
have t37 : 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) -- (+13 chars; full line in the Zenodo source)
have t38 : 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) -- (+13 chars; full line in the Zenodo source)
have t39 : 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) -- (+13 chars; full line in the Zenodo source)
have t40 : 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) -- (+13 chars; full line in the Zenodo source)
have t41 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 8) (w + 15) (a + 8) (a + 9) (a + 10) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+13 chars; full line in the Zenodo source)
have t42 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 8) (w + 15) (a + 8) (a + 9) (a + 10) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+13 chars; full line in the Zenodo source)
have t43 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 8) (w + 15) (a + 8) (a + 9) (a + 10) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+13 chars; full line in the Zenodo source)
have t44 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 8) (w + 17) (a + 8) (a + 9) (a + 10) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+13 chars; full line in the Zenodo source)
have t45 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 8) (w + 17) (a + 8) (a + 9) (a + 10) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+13 chars; full line in the Zenodo source)
have t46 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 8) (w + 17) (a + 8) (a + 9) (a + 10) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+13 chars; full line in the Zenodo source)
have t47 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 8) (w + 19) (a + 8) (a + 9) (a + 10) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+13 chars; full line in the Zenodo source)
have t48 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 8) (w + 19) (a + 8) (a + 9) (a + 10) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+13 chars; full line in the Zenodo source)
have t49 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 29)) (Zs K x (a + w + 31))) (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 + 30))))) := A1.Dn K O x hD (a + 8) (w + 21) (a + 8) (a + 9) (a + 10) (a + w + 29) (a + w + 30) (a + w + 31) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+13 chars; full line in the Zenodo source)
have t50 : 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 -- (+14 chars; full line in the Zenodo source)
have t51 : 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_na -- (+15 chars; full line in the Zenodo source)
have t52 : 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_na -- (+15 chars; full line in the Zenodo source)
have t53 : 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_na -- (+15 chars; full line in the Zenodo source)
have t54 : 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_na -- (+15 chars; full line in the Zenodo source)
have t55 : 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_na -- (+15 chars; full line in the Zenodo source)
have t56 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 9) (w + 15) (a + 9) (a + 10) (a + 11) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+15 chars; full line in the Zenodo source)
have t57 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 9) (w + 15) (a + 9) (a + 10) (a + 11) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+15 chars; full line in the Zenodo source)
have t58 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 9) (w + 15) (a + 9) (a + 10) (a + 11) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+15 chars; full line in the Zenodo source)
have t59 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 9) (w + 17) (a + 9) (a + 10) (a + 11) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+15 chars; full line in the Zenodo source)
have t60 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 9) (w + 17) (a + 9) (a + 10) (a + 11) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+15 chars; full line in the Zenodo source)
have t61 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 28)) (Zs K x (a + w + 30))) (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 + 29))))) := A1.Dn K O x hD (a + 9) (w + 19) (a + 9) (a + 10) (a + 11) (a + w + 28) (a + w + 29) (a + w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+15 chars; full line in the Zenodo source)
have t62 : 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_ -- (+17 chars; full line in the Zenodo source)
have t63 : 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_ -- (+17 chars; full line in the Zenodo source)
have t64 : 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_ -- (+17 chars; full line in the Zenodo source)
have t65 : 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 -- (+18 chars; full line in the Zenodo source)
have t66 : 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 -- (+18 chars; full line in the Zenodo source)
have t67 : 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 -- (+18 chars; full line in the Zenodo source)
have t68 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 10) (w + 13) (a + 10) (a + 11) (a + 12) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t69 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 10) (w + 13) (a + 10) (a + 11) (a + 12) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t70 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 10) (w + 13) (a + 10) (a + 11) (a + 12) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t71 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 10) (w + 13) (a + 10) (a + 11) (a + 12) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t72 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 10) (w + 15) (a + 10) (a + 11) (a + 12) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t73 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 10) (w + 15) (a + 10) (a + 11) (a + 12) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t74 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 10) (w + 15) (a + 10) (a + 11) (a + 12) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t75 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 10) (w + 17) (a + 10) (a + 11) (a + 12) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t76 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 10) (w + 17) (a + 10) (a + 11) (a + 12) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t77 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 29)) (Zs K x (a + w + 31))) (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 + 30))))) := A1.Dn K O x hD (a + 10) (w + 19) (a + 10) (a + 11) (a + 12) (a + w + 29) (a + w + 30) (a + w + 31) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t78 : 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_ -- (+17 chars; full line in the Zenodo source)
have t79 : 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_ -- (+17 chars; full line in the Zenodo source)
have t80 : 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_ -- (+17 chars; full line in the Zenodo source)
have t81 : 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 -- (+18 chars; full line in the Zenodo source)
have t82 : 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 -- (+18 chars; full line in the Zenodo source)
have t83 : 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 -- (+18 chars; full line in the Zenodo source)
have t84 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 11) (w + 13) (a + 11) (a + 12) (a + 13) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t85 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 11) (w + 13) (a + 11) (a + 12) (a + 13) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t86 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 11) (w + 13) (a + 11) (a + 12) (a + 13) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t87 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 11) (w + 15) (a + 11) (a + 12) (a + 13) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t88 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 11) (w + 15) (a + 11) (a + 12) (a + 13) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t89 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 28)) (Zs K x (a + w + 30))) (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 + 29))))) := A1.Dn K O x hD (a + 11) (w + 17) (a + 11) (a + 12) (a + 13) (a + w + 28) (a + w + 29) (a + w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t90 : 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 18))))) := A1.Dn K O x hD (a + 12) (w + 5) (a + 12) (a + 13) (a + 14) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t91 : 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 12) (w + 7) (a + 12) (a + 13) (a + 14) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t92 : 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 12) (w + 7) (a + 12) (a + 13) (a + 14) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t93 : 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 12) (w + 9) (a + 12) (a + 13) (a + 14) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t94 : 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 12) (w + 9) (a + 12) (a + 13) (a + 14) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t95 : 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 12) (w + 9) (a + 12) (a + 13) (a + 14) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t96 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 12) (w + 11) (a + 12) (a + 13) (a + 14) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t97 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 12) (w + 11) (a + 12) (a + 13) (a + 14) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t98 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 12) (w + 11) (a + 12) (a + 13) (a + 14) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t99 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + w + 26))))) := A1.Dn K O x hD (a + 12) (w + 13) (a + 12) (a + 13) (a + 14) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t100 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + w + 26))))) := A1.Dn K O x hD (a + 12) (w + 13) (a + 12) (a + 13) (a + 14) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t101 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + w + 26))))) := A1.Dn K O x hD (a + 12) (w + 13) (a + 12) (a + 13) (a + 14) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t102 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + w + 28))))) := A1.Dn K O x hD (a + 12) (w + 15) (a + 12) (a + 13) (a + 14) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t103 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + w + 28))))) := A1.Dn K O x hD (a + 12) (w + 15) (a + 12) (a + 13) (a + 14) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t104 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 29)) (Zs K x (a + w + 31))) (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 + w + 30))))) := A1.Dn K O x hD (a + 12) (w + 17) (a + 12) (a + 13) (a + 14) (a + w + 29) (a + w + 30) (a + w + 31) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t105 : 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 + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 19))))) := A1.Dn K O x hD (a + 13) (w + 5) (a + 13) (a + 14) (a + 15) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t106 : 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 + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 21))))) := A1.Dn K O x hD (a + 13) (w + 7) (a + 13) (a + 14) (a + 15) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t107 : 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 + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 21))))) := A1.Dn K O x hD (a + 13) (w + 7) (a + 13) (a + 14) (a + 15) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t108 : 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 + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 23))))) := A1.Dn K O x hD (a + 13) (w + 9) (a + 13) (a + 14) (a + 15) (a + w + 22) (a + w + 23) (a + w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t109 : 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 + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 23))))) := A1.Dn K O x hD (a + 13) (w + 9) (a + 13) (a + 14) (a + 15) (a + w + 22) (a + w + 23) (a + w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t110 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 13) (w + 11) (a + 13) (a + 14) (a + 15) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t111 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 13) (w + 11) (a + 13) (a + 14) (a + 15) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t112 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 27))))) := A1.Dn K O x hD (a + 13) (w + 13) (a + 13) (a + 14) (a + 15) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t113 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 27))))) := A1.Dn K O x hD (a + 13) (w + 13) (a + 13) (a + 14) (a + 15) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t114 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 28)) (Zs K x (a + w + 30))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + w + 29))))) := A1.Dn K O x hD (a + 13) (w + 15) (a + 13) (a + 14) (a + 15) (a + w + 28) (a + w + 29) (a + w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t115 : 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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 18))))) := A1.Dn K O x hD (a + 14) (w + 3) (a + 14) (a + 15) (a + 16) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t116 : 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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 14) (w + 5) (a + 14) (a + 15) (a + 16) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t117 : 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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 14) (w + 5) (a + 14) (a + 15) (a + 16) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t118 : 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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 14) (w + 7) (a + 14) (a + 15) (a + 16) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t119 : 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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 14) (w + 7) (a + 14) (a + 15) (a + 16) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t120 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 14) (w + 9) (a + 14) (a + 15) (a + 16) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t121 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 14) (w + 9) (a + 14) (a + 15) (a + 16) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t122 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 26))))) := A1.Dn K O x hD (a + 14) (w + 11) (a + 14) (a + 15) (a + 16) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t123 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 26))))) := A1.Dn K O x hD (a + 14) (w + 11) (a + 14) (a + 15) (a + 16) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t124 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 28))))) := A1.Dn K O x hD (a + 14) (w + 13) (a + 14) (a + 15) (a + 16) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t125 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 28))))) := A1.Dn K O x hD (a + 14) (w + 13) (a + 14) (a + 15) (a + 16) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t126 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 29)) (Zs K x (a + w + 31))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 30))))) := A1.Dn K O x hD (a + 14) (w + 15) (a + 14) (a + 15) (a + 16) (a + w + 29) (a + w + 30) (a + w + 31) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t127 : 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 + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + w + 19))))) := A1.Dn K O x hD (a + 15) (w + 3) (a + 15) (a + 16) (a + 17) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t128 : 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 + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + w + 21))))) := A1.Dn K O x hD (a + 15) (w + 5) (a + 15) (a + 16) (a + 17) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t129 : 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 + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + w + 23))))) := A1.Dn K O x hD (a + 15) (w + 7) (a + 15) (a + 16) (a + 17) (a + w + 22) (a + w + 23) (a + w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t130 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 15) (w + 9) (a + 15) (a + 16) (a + 17) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t131 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + w + 27))))) := A1.Dn K O x hD (a + 15) (w + 11) (a + 15) (a + 16) (a + 17) (a + w + 26) (a + w + 27) (a + w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t132 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 28)) (Zs K x (a + w + 30))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + w + 29))))) := A1.Dn K O x hD (a + 15) (w + 13) (a + 15) (a + 16) (a + 17) (a + w + 28) (a + w + 29) (a + w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t133 : 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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + w + 18))))) := A1.Dn K O x hD (a + 16) (w + 1) (a + 16) (a + 17) (a + 18) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t134 : 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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 16) (w + 3) (a + 16) (a + 17) (a + 18) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t135 : 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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 16) (w + 5) (a + 16) (a + 17) (a + 18) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t136 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 16) (w + 7) (a + 16) (a + 17) (a + 18) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t137 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + w + 26))))) := A1.Dn K O x hD (a + 16) (w + 9) (a + 16) (a + 17) (a + 18) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t138 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + w + 28))))) := A1.Dn K O x hD (a + 16) (w + 11) (a + 16) (a + 17) (a + 18) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 chars; full line in the Zenodo source)
have t139 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 29)) (Zs K x (a + w + 31))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + w + 30))))) := A1.Dn K O x hD (a + 16) (w + 13) (a + 16) (a + 17) (a + 18) (a + w + 29) (a + w + 30) (a + w + 31) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+19 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 -- (+3057 chars; full line in the Zenodo source)
include hx hT hD h1 h10 in
theorem sg12 (i w : Nat) : O.le K.zero (Lagrange.minor K (Zs K x) (Zs K (c1v K x)) i (i + w + 1)) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add K.zero (Zs K x (2)))) (K.neg (K.mul (Zs K x (1)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (1)) (Zs K x (3)))) (K.neg (K.mul (Zs K x (2)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (2)) (Zs K x (4)))) (K.neg (K.mul (Zs K x (3)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (Zs K x (4)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (5)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (6)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (7)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (8)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (9)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (10)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (11)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (12)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.add (K.mul K.zero (K.add (Zs K x (w + 12)) (Zs K x (w + 14)))) (K.neg (K.mul (Zs K x (w + 13)) K.zero)))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (1)) (Zs K x (3)))) (K.neg (K.mul (Zs K x (2)) (K.add K.zero (Zs K x (2))))))
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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (2)) (Zs K x (4)))) (K.neg (K.mul (Zs K x (3)) (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (Zs K x (4)) (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (5)) (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (6)) (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (7)) (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (8)) (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (9)) (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (10)) (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (11)) (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (12)) (K.add K.zero (Zs K x (2))))))
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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (13)) (K.add K.zero (Zs K x (2))))))
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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 14 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (w + 13)) (Zs K x (w + 15)))) (K.neg (K.mul (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 + 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)
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.add (K.mul (Zs K x (2)) (K.add (Zs K x (2)) (Zs K x (4)))) (K.neg (K.mul (Zs K x (3)) (K.add (Zs K x (1)) (Zs K x (3))))))
have t0 : O.le K.zero (K.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.add (K.mul (Zs K x (2)) (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (Zs K x (4)) (K.add (Zs K x (1)) (Zs K x (3))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (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 (12)) (Zs K x (14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (13))))) := A1.Dn K O x hD (1) (11) (1) (2) (3) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (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 (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (w + 14)) (Zs K x (w + 16)))) (K.neg (K.mul (Zs K x (w + 15)) (K.add (Zs K x (1)) (Zs K x (3))))))
have t0 : O.le K.zero (K.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)
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.add (K.mul (Zs K x (3)) (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (Zs K x (4)) (K.add (Zs K x (2)) (Zs K x (4))))))
have t0 : O.le K.zero (K.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.add (K.mul (Zs K x (3)) (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (2)) (Zs K x (4))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (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 (13)) (Zs K x (15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (14))))) := A1.Dn K O x hD (2) (11) (2) (3) (4) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (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 (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)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (w + 15)) (Zs K x (w + 17)))) (K.neg (K.mul (Zs K x (w + 16)) (K.add (Zs K x (2)) (Zs K x (4))))))
have t0 : O.le K.zero (K.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)
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.add (K.mul (Zs K x (4)) (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (3)) (Zs K x (5))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (3)) (Zs K x (5))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (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 (14)) (Zs K x (16))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))))) := A1.Dn K O x hD (3) (11) (3) (4) (5) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (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 (15)) (Zs K x (17))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (16))))) := A1.Dn K O x hD (3) (12) (3) (4) (5) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (w + 16)) (Zs K x (w + 18)))) (K.neg (K.mul (Zs K x (w + 17)) (K.add (Zs K x (3)) (Zs K x (5))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 17))))) := A1.Dn K O x hD (3) (w + 13) (3) (4) (5) (w + 16) (w + 17) (w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (4)) (Zs K x (6))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (4)) (Zs K x (6))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (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 (15)) (Zs K x (17))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))))) := A1.Dn K O x hD (4) (11) (4) (5) (6) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (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 (16)) (Zs K x (18))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (17))))) := A1.Dn K O x hD (4) (12) (4) (5) (6) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (w + 17)) (Zs K x (w + 19)))) (K.neg (K.mul (Zs K x (w + 18)) (K.add (Zs K x (4)) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 18))))) := A1.Dn K O x hD (4) (w + 13) (4) (5) (6) (w + 17) (w + 18) (w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (5)) (Zs K x (7))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (5)) (Zs K x (7))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (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 (16)) (Zs K x (18))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))))) := A1.Dn K O x hD (5) (11) (5) (6) (7) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (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 (17)) (Zs K x (19))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))))) := A1.Dn K O x hD (5) (12) (5) (6) (7) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (w + 18)) (Zs K x (w + 20)))) (K.neg (K.mul (Zs K x (w + 19)) (K.add (Zs K x (5)) (Zs K x (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 19))))) := A1.Dn K O x hD (5) (w + 13) (5) (6) (7) (w + 18) (w + 19) (w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (6)) (Zs K x (8))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (6)) (Zs K x (8))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (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 (17)) (Zs K x (19))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))))) := A1.Dn K O x hD (6) (11) (6) (7) (8) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (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 (18)) (Zs K x (20))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (19))))) := A1.Dn K O x hD (6) (12) (6) (7) (8) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (w + 19)) (Zs K x (w + 21)))) (K.neg (K.mul (Zs K x (w + 20)) (K.add (Zs K x (6)) (Zs K x (8))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 20))))) := A1.Dn K O x hD (6) (w + 13) (6) (7) (8) (w + 19) (w + 20) (w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (7)) (Zs K x (9))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (7)) (Zs K x (9))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (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 (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (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 (18)) (Zs K x (20))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))))) := A1.Dn K O x hD (7) (11) (7) (8) (9) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (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 (19)) (Zs K x (21))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (20))))) := A1.Dn K O x hD (7) (12) (7) (8) (9) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (w + 20)) (Zs K x (w + 22)))) (K.neg (K.mul (Zs K x (w + 21)) (K.add (Zs K x (7)) (Zs K x (9))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 21))))) := A1.Dn K O x hD (7) (w + 13) (7) (8) (9) (w + 20) (w + 21) (w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (18)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (19)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (20)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))))) := A1.Dn K O x hD (8) (11) (8) (9) (10) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (Zs K x (21)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (21))))) := A1.Dn K O x hD (8) (12) (8) (9) (10) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (w + 21)) (Zs K x (w + 23)))) (K.neg (K.mul (Zs K x (w + 22)) (K.add (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 22))))) := A1.Dn K O x hD (8) (w + 13) (8) (9) (10) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (18)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (19)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (20)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (Zs K x (21)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (21)) (Zs K x (23)))) (K.neg (K.mul (Zs K x (22)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (w + 22)) (Zs K x (w + 24)))) (K.neg (K.mul (Zs K x (w + 23)) (K.add (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 12 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 11)) (Zs K x (a + 13)))) (K.neg (K.mul (Zs K x (a + 12)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))) (K.neg (K.mul (Zs K x (a + 13)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 13)) (Zs K x (a + 15)))) (K.neg (K.mul (Zs K x (a + 14)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 14)) (Zs K x (a + 16)))) (K.neg (K.mul (Zs K x (a + 15)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 15)) (Zs K x (a + 17)))) (K.neg (K.mul (Zs K x (a + 16)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 16)) (Zs K x (a + 18)))) (K.neg (K.mul (Zs K x (a + 17)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 17)) (Zs K x (a + 19)))) (K.neg (K.mul (Zs K x (a + 18)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 18)) (Zs K x (a + 20)))) (K.neg (K.mul (Zs K x (a + 19)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 19)) (Zs K x (a + 21)))) (K.neg (K.mul (Zs K x (a + 20)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 20)) (Zs K x (a + 22)))) (K.neg (K.mul (Zs K x (a + 21)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 21)) (Zs K x (a + 23)))) (K.neg (K.mul (Zs K x (a + 22)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 22)) (Zs K x (a + 24)))) (K.neg (K.mul (Zs K x (a + 23)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25)))) (K.neg (K.mul (Zs K x (a + w + 24)) (K.add (Zs K x (a + 10)) (Zs K x (a + 12))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 10) (w + 13) (a + 10) (a + 11) (a + 12) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
include hx hT hD h1 h10 in
theorem sg13 (i w : Nat) : O.le K.zero (Lagrange.minor K (fun i => x (i + 6)) (fun i => x (i + 5)) i (i + w + 1)) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (7))) (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 (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (0)
try rw [show (5) + (0) + 1 + (1) = 7 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (8))) (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 (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.add (K.mul (Zs K x (7)) (Zs K x (9))) (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 (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (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 (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (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 (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (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 (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (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 (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (7)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (6)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (0)
try rw [show (5) + (0) + 1 + (w + 13) = w + 19 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 13) = 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.add (K.mul (Zs K x (8)) (Zs K x (8))) (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 (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (0)
try rw [show (6) + (0) + 1 + (1) = 8 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (9))) (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 (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.add (K.mul (Zs K x (8)) (Zs K x (10))) (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 (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (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 (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (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 (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (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 (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (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 (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (7)
try rw [show (6) + (7) + 1 + (1) = 15 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (8)
try rw [show (6) + (8) + 1 + (1) = 16 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (9)
try rw [show (6) + (9) + 1 + (1) = 17 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 14 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (8)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (7)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (0)
try rw [show (6) + (0) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 13) = 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.add (K.mul (Zs K x (9)) (Zs K x (9))) (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 (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (0)
try rw [show (7) + (0) + 1 + (1) = 9 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (10))) (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 (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.add (K.mul (Zs K x (9)) (Zs K x (11))) (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 (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (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 (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (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 (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (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 (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (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 (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (7)
try rw [show (7) + (7) + 1 + (1) = 16 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (8)
try rw [show (7) + (8) + 1 + (1) = 17 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (9)
try rw [show (7) + (9) + 1 + (1) = 18 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (9)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (8)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (0)
try rw [show (7) + (0) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 13) = 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.add (K.mul (Zs K x (10)) (Zs K x (10))) (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 (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (0)
try rw [show (8) + (0) + 1 + (1) = 10 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (11))) (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 (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.add (K.mul (Zs K x (10)) (Zs K x (12))) (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 (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (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 (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (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 (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (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 (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (0)
try rw [show (8) + (0) + 1 + (6) = 15 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (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 (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (0)
try rw [show (8) + (0) + 1 + (7) = 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (7)
try rw [show (8) + (7) + 1 + (1) = 17 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (8)
try rw [show (8) + (8) + 1 + (1) = 18 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (9)
try rw [show (8) + (9) + 1 + (1) = 19 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (10)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 23)) (Zs K x (9)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (0)
try rw [show (8) + (0) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (11))) (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 (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (0)
try rw [show (9) + (0) + 1 + (1) = 11 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (12))) (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 (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.add (K.mul (Zs K x (11)) (Zs K x (13))) (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 (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (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 (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (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 (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (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 (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (0)
try rw [show (9) + (0) + 1 + (6) = 16 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (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 (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (0)
try rw [show (9) + (0) + 1 + (7) = 17 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (7)
try rw [show (9) + (7) + 1 + (1) = 18 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (8)
try rw [show (9) + (8) + 1 + (1) = 19 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (9)
try rw [show (9) + (9) + 1 + (1) = 20 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (11)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 24)) (Zs K x (10)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (0)
try rw [show (9) + (0) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (12))) (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 (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (0)
try rw [show (10) + (0) + 1 + (1) = 12 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (13))) (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 (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.add (K.mul (Zs K x (12)) (Zs K x (14))) (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 (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (0)
try rw [show (10) + (0) + 1 + (3) = 14 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (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 (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (0)
try rw [show (10) + (0) + 1 + (4) = 15 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (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 (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (0)
try rw [show (10) + (0) + 1 + (5) = 16 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (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 (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (0)
try rw [show (10) + (0) + 1 + (6) = 17 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (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 (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (0)
try rw [show (10) + (0) + 1 + (7) = 18 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (7)
try rw [show (10) + (7) + 1 + (1) = 19 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (8)
try rw [show (10) + (8) + 1 + (1) = 20 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (9)
try rw [show (10) + (9) + 1 + (1) = 21 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (12)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 25)) (Zs K x (11)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (0)
try rw [show (10) + (0) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (13))) (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 (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (0)
try rw [show (11) + (0) + 1 + (1) = 13 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (14))) (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 (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (0)
try rw [show (11) + (0) + 1 + (2) = 14 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (15))) (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 (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (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 (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (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 (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (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 (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (0)
try rw [show (11) + (0) + 1 + (6) = 18 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (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 (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (0)
try rw [show (11) + (0) + 1 + (7) = 19 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (7)
try rw [show (11) + (7) + 1 + (1) = 20 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (8)
try rw [show (11) + (8) + 1 + (1) = 21 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (9)
try rw [show (11) + (9) + 1 + (1) = 22 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (10)
try rw [show (11) + (10) + 1 + (1) = 23 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (11)
try rw [show (11) + (11) + 1 + (1) = 24 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (13)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 26)) (Zs K x (12)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (0)
try rw [show (11) + (0) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (14))) (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 (13)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (0)
try rw [show (12) + (0) + 1 + (1) = 14 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (15))) (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 (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (0)
try rw [show (12) + (0) + 1 + (2) = 15 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (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 (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (0)
try rw [show (12) + (0) + 1 + (3) = 16 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (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 (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (0)
try rw [show (12) + (0) + 1 + (4) = 17 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (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 (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (0)
try rw [show (12) + (0) + 1 + (5) = 18 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (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 (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (0)
try rw [show (12) + (0) + 1 + (6) = 19 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (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 (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (0)
try rw [show (12) + (0) + 1 + (7) = 20 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (7)
try rw [show (12) + (7) + 1 + (1) = 21 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (8)
try rw [show (12) + (8) + 1 + (1) = 22 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (9)
try rw [show (12) + (9) + 1 + (1) = 23 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (10)
try rw [show (12) + (10) + 1 + (1) = 24 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (11)
try rw [show (12) + (11) + 1 + (1) = 25 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (14)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 27)) (Zs K x (13)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (0)
try rw [show (12) + (0) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (15))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (0)
try rw [show (13) + (0) + 1 + (1) = 15 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (16))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (0)
try rw [show (13) + (0) + 1 + (2) = 16 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (17))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (0)
try rw [show (13) + (0) + 1 + (3) = 17 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (18))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (0)
try rw [show (13) + (0) + 1 + (4) = 18 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (0)
try rw [show (13) + (0) + 1 + (5) = 19 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (0)
try rw [show (13) + (0) + 1 + (6) = 20 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (0)
try rw [show (13) + (0) + 1 + (7) = 21 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (7)
try rw [show (13) + (7) + 1 + (1) = 22 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (8)
try rw [show (13) + (8) + 1 + (1) = 23 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (9)
try rw [show (13) + (9) + 1 + (1) = 24 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (10)
try rw [show (13) + (10) + 1 + (1) = 25 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (11)
try rw [show (13) + (11) + 1 + (1) = 26 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (15)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 28)) (Zs K x (14)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (13) (0)
try rw [show (13) + (0) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 13) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (16))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (0)
try rw [show (14) + (0) + 1 + (1) = 16 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (17))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (0)
try rw [show (14) + (0) + 1 + (2) = 17 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (18))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (0)
try rw [show (14) + (0) + 1 + (3) = 18 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (3) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (19))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (0)
try rw [show (14) + (0) + 1 + (4) = 19 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (4) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (20))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (0)
try rw [show (14) + (0) + 1 + (5) = 20 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (5) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (21))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (0)
try rw [show (14) + (0) + 1 + (6) = 21 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (6) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (22))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (0)
try rw [show (14) + (0) + 1 + (7) = 22 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (7) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (23))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (7)
try rw [show (14) + (7) + 1 + (1) = 23 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (24))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (8)
try rw [show (14) + (8) + 1 + (1) = 24 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (25))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (9)
try rw [show (14) + (9) + 1 + (1) = 25 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (26))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (10)
try rw [show (14) + (10) + 1 + (1) = 26 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (27))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (11)
try rw [show (14) + (11) + 1 + (1) = 27 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (16)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 29)) (Zs K x (15)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 13) (14) (0)
try rw [show (14) + (0) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (w + 13) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (17))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (0)
try rw [show (15) + (0) + 1 + (1) = 17 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (18))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (2) (15) (0)
try rw [show (15) + (0) + 1 + (2) = 18 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (2) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (19))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (0)
try rw [show (15) + (0) + 1 + (3) = 19 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (3) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (20))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (0)
try rw [show (15) + (0) + 1 + (4) = 20 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (4) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (21))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (0)
try rw [show (15) + (0) + 1 + (5) = 21 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (5) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (22))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (6) (15) (0)
try rw [show (15) + (0) + 1 + (6) = 22 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (6) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (23))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (7) (15) (0)
try rw [show (15) + (0) + 1 + (7) = 23 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (7) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (24))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (7)
try rw [show (15) + (7) + 1 + (1) = 24 by lib_nat] at h
try rw [show (15) + (7) + 1 = 23 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (25))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (8)
try rw [show (15) + (8) + 1 + (1) = 25 by lib_nat] at h
try rw [show (15) + (8) + 1 = 24 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (26))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (9)
try rw [show (15) + (9) + 1 + (1) = 26 by lib_nat] at h
try rw [show (15) + (9) + 1 = 25 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (27))) (K.neg (K.mul (Zs K x (28)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (10)
try rw [show (15) + (10) + 1 + (1) = 27 by lib_nat] at h
try rw [show (15) + (10) + 1 = 26 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (28))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (11)
try rw [show (15) + (11) + 1 + (1) = 28 by lib_nat] at h
try rw [show (15) + (11) + 1 = 27 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (17)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 30)) (Zs K x (16)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 13) (15) (0)
try rw [show (15) + (0) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (w + 13) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 12 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (1) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (1) = a + 18 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (1) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (2) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (2) = a + 19 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (2) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (3) = a + 20 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (3) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (4) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (4) = a + 21 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (4) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 23)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (5) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (5) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 24)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (6) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (6) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 25)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (7) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (7) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 26)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (8) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (8) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 27)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (9) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (9) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 28)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (10) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (10) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 29)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (11) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (11) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 30)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (12) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (12) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + w + 31)) (Zs K x (a + 17)))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 30)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (w + 13) = a + w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
include hx hT hD h1 h10 in
theorem sg14 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K x (fun i => x (i + 1)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (0)
try rw [show (0) + (0) + 1 + (1) = 2 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (2)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (0)
try rw [show (0) + (0) + 1 + (2) = 3 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (0)
try rw [show (0) + (0) + 1 + (3) = 4 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (2)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (0)
try rw [show (0) + (0) + 1 + (4) = 5 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (2)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (0)
try rw [show (0) + (0) + 1 + (6) = 7 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (7)
try rw [show (0) + (7) + 1 + (1) = 9 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (8)
try rw [show (0) + (8) + 1 + (1) = 10 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (9)
try rw [show (0) + (9) + 1 + (1) = 11 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (10)
try rw [show (0) + (10) + 1 + (1) = 12 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (11)
try rw [show (0) + (11) + 1 + (1) = 13 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 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 (1)) (Zs K x (w + 15))) (K.neg (K.mul (Zs K x (w + 14)) (Zs K x (2))))))
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 (2)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 13) (0) (0)
try rw [show (0) + (0) + 1 + (w + 13) = w + 14 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (w + 13) = 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 (2)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (0)
try rw [show (1) + (0) + 1 + (1) = 3 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (0)
try rw [show (1) + (0) + 1 + (2) = 4 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (0)
try rw [show (1) + (0) + 1 + (3) = 5 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (0)
try rw [show (1) + (0) + 1 + (4) = 6 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (0)
try rw [show (1) + (0) + 1 + (6) = 8 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (9)
try rw [show (1) + (9) + 1 + (1) = 12 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (10)
try rw [show (1) + (10) + 1 + (1) = 13 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (11)
try rw [show (1) + (11) + 1 + (1) = 14 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 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 (2)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (w + 15)) (Zs K x (3))))))
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 (3)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 13) (1) (0)
try rw [show (1) + (0) + 1 + (w + 13) = w + 15 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (w + 13) = 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 (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (0)
try rw [show (2) + (0) + 1 + (1) = 4 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (0)
try rw [show (2) + (0) + 1 + (4) = 7 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (7)
try rw [show (2) + (7) + 1 + (1) = 11 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (9)
try rw [show (2) + (9) + 1 + (1) = 13 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (11)
try rw [show (2) + (11) + 1 + (1) = 15 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (0)
try rw [show (2) + (0) + 1 + (w + 13) = w + 16 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (0)
try rw [show (3) + (0) + 1 + (1) = 5 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (0)
try rw [show (3) + (0) + 1 + (w + 13) = w + 17 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (0)
try rw [show (4) + (0) + 1 + (1) = 6 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (0)
try rw [show (4) + (0) + 1 + (w + 13) = w + 18 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (0)
try rw [show (5) + (0) + 1 + (1) = 7 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (0)
try rw [show (5) + (0) + 1 + (w + 13) = w + 19 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 13) = 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 (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (0)
try rw [show (6) + (0) + 1 + (1) = 8 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (7)
try rw [show (6) + (7) + 1 + (1) = 15 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (8)
try rw [show (6) + (8) + 1 + (1) = 16 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (9)
try rw [show (6) + (9) + 1 + (1) = 17 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (0)
try rw [show (6) + (0) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 13) = 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 (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (0)
try rw [show (7) + (0) + 1 + (1) = 9 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (7)
try rw [show (7) + (7) + 1 + (1) = 16 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (8)
try rw [show (7) + (8) + 1 + (1) = 17 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (9)
try rw [show (7) + (9) + 1 + (1) = 18 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (0)
try rw [show (7) + (0) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 13) = 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 (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (0)
try rw [show (8) + (0) + 1 + (1) = 10 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (0)
try rw [show (8) + (0) + 1 + (2) = 11 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (0)
try rw [show (8) + (0) + 1 + (6) = 15 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (0)
try rw [show (8) + (0) + 1 + (7) = 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (7)
try rw [show (8) + (7) + 1 + (1) = 17 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (8)
try rw [show (8) + (8) + 1 + (1) = 18 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (9)
try rw [show (8) + (9) + 1 + (1) = 19 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (0)
try rw [show (8) + (0) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (0)
try rw [show (9) + (0) + 1 + (1) = 11 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (0)
try rw [show (9) + (0) + 1 + (2) = 12 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (0)
try rw [show (9) + (0) + 1 + (6) = 16 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (0)
try rw [show (9) + (0) + 1 + (7) = 17 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (7)
try rw [show (9) + (7) + 1 + (1) = 18 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (8)
try rw [show (9) + (8) + 1 + (1) = 19 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (9)
try rw [show (9) + (9) + 1 + (1) = 20 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 23)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (0)
try rw [show (9) + (0) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (0)
try rw [show (10) + (0) + 1 + (1) = 12 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (0)
try rw [show (10) + (0) + 1 + (2) = 13 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (0)
try rw [show (10) + (0) + 1 + (3) = 14 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (0)
try rw [show (10) + (0) + 1 + (4) = 15 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (0)
try rw [show (10) + (0) + 1 + (5) = 16 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (0)
try rw [show (10) + (0) + 1 + (6) = 17 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (0)
try rw [show (10) + (0) + 1 + (7) = 18 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (7)
try rw [show (10) + (7) + 1 + (1) = 19 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (8)
try rw [show (10) + (8) + 1 + (1) = 20 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (9)
try rw [show (10) + (9) + 1 + (1) = 21 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 24)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (0)
try rw [show (10) + (0) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 14))) (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 + 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
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 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 + 15))) (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 + 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 + 1 + 1 + (0 + 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 + 16))) (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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 17))) (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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 18))) (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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 19))) (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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 20))) (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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 21))) (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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 22))) (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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 23))) (K.neg (K.mul (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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 24))) (K.neg (K.mul (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 + 12)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (11) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (11) = a + 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) + (11) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 24)) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (12) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (12) = a + 24 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (12) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 26))) (K.neg (K.mul (Zs K x (a + w + 25)) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 26))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (w + 13) = a + w + 25 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 + 13) = a + w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
include hx hT hD h1 h10 in
theorem sg15 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv4 K (fun i => x (i + 2)))) (fun i => x (i + 6)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (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.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (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 (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (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))) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (Zs K x (13))) (K.neg (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))) (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 (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 (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 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.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
have t7 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (Zs K x (14))) (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))) (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 (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (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))) (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 (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (6)) (hx (14))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (6)) (hx (15))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (6)) (hx (14))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (6)) (hx (16))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (5)) (hx (14))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (6)) (hx (17))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (7)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 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.zero (Zs K x (w + 20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 10))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 12))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 14))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 19))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 18))
exact A1.nn_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 (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)
have t2 : 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 _ _ 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 (7)) (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (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 (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (1)
try rw [show (2) + (1) + 1 + (5) = 9 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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
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 (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (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 (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 (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 (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.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (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))) (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 (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 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.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 t3 : 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 t4 : 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 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.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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t9 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (7)) (Zs K x (13))) (K.neg (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))) (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 (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.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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (12))))) := A1.Dn K O x hD (0) (11) (0) (1) (2) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 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.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 t7 : 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 t8 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
have t9 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (7)) (Zs K x (14))) (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))) (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 (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 (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.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 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 (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 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.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.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 t8 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
have t9 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (7)) (Zs K x (15))) (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))) (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 (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.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 (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.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 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 (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 t5 : 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 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 (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 t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
have t8 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (2)) (hx (14))
have t9 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (4)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (7)) (Zs K x (16))) (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))) (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 (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 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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (3)
try rw [show (3) + (3) + 1 + (7) = 14 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (8)
try rw [show (3) + (8) + 1 + (4) = 16 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
have t8 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
have t9 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (4)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (7)) (Zs K x (17))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (17))))) := A1.Dn K O x hD (1) (15) (1) (2) (3) (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.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 t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (2)) (hx (16))
have t8 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (7)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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 (17)) (Zs K x (19))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (18))))) := A1.Dn K O x hD (1) (16) (1) (2) (3) (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.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 t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (2)) (hx (17))
have t8 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (7)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (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))) (Zs K x (8))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (19) (20) (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 (18)) (Zs K x (20))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (19))))) := A1.Dn K O x hD (1) (17) (1) (2) (3) (18) (19) (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 (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (2)) (hx (18))
have t9 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (4)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (7)) (Zs K x (20))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (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 (19)) (Zs K x (21))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (20))))) := A1.Dn K O x hD (1) (18) (1) (2) (3) (19) (20) (21) (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 (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (2)) (hx (19))
have t8 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (7)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 =>
rw [show 0 + 1 + (w + 1 + 1 + 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 (7)) (Zs K x (w + 21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (8))))))
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 (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (0)
try rw [show (6) + (0) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 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 (8)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 11))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 13))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 15))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 18))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 17))
exact A1.nn_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 (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (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 (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (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 (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (2)
try rw [show (2) + (2) + 1 + (6) = 11 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t5 : 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 _ _ 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 (6)) (Zs K x (8))) (Zs K x (12))) (K.neg (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (7)
try rw [show (0) + (7) + 1 + (2) = 10 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.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.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 t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t7 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (6)) (Zs K x (8))) (Zs K x (13))) (K.neg (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))) (Zs K x (9))))))
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 (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 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.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 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 (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 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 (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t7 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (6)) (Zs K x (8))) (Zs K x (14))) (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))) (Zs K x (9))))))
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 (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (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.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 t4 : 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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
have t7 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (6)) (Zs K x (8))) (Zs K x (15))) (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))) (Zs K x (9))))))
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.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 (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.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 t4 : 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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
have t7 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (3)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (Zs K x (6)) (Zs K x (8))) (Zs K x (16))) (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))) (Zs K x (9))))))
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 (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (0)) (hx (14))
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t7 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (3)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (6)) (Zs K x (8))) (Zs K x (17))) (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))) (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 (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (7)
try rw [show (1) + (7) + 1 + (5) = 14 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (7)
try rw [show (1) + (7) + 1 + (7) = 16 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : 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 t6 : 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 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.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 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.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
have t11 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (4)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (6)) (Zs K x (8))) (Zs K x (18))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (8)
try rw [show (3) + (8) + 1 + (5) = 17 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
have t7 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (3)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (6)) (Zs K x (8))) (Zs K x (19))) (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))) (Zs K x (9))))))
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 (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (9)
try rw [show (3) + (9) + 1 + (5) = 18 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (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 t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (3)) (hx (16))
have t7 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (3)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (6)) (Zs K x (8))) (Zs K x (20))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (1)) (hx (19))
have t7 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (3)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (6)) (Zs K x (8))) (Zs K x (21))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (1)) (hx (20))
have t6 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (8)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (2)
try rw [show (5) + (2) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 13) = 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 (8)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (0)
try rw [show (7) + (0) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 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 (9)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 12))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 14))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 16))
exact A1.nn_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))) (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 (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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.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 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.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (12))) (K.neg (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (8)
try rw [show (0) + (8) + 1 + (2) = 11 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (8)
try rw [show (0) + (8) + 1 + (4) = 13 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (1)
try rw [show (4) + (1) + 1 + (5) = 11 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (0)
try rw [show (8) + (0) + 1 + (2) = 11 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (13))) (K.neg (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))) (Zs K x (10))))))
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 (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 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.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 t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (14))) (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))) (Zs K x (10))))))
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 (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (8)
try rw [show (0) + (8) + 1 + (4) = 13 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 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 (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 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 (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ 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))) (Zs K x (15))) (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))) (Zs K x (10))))))
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 (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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 t4 : 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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (16))) (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))) (Zs K x (10))))))
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 (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (4)
try rw [show (4) + (4) + 1 + (6) = 15 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (0)) (hx (15))
have t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (17))) (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))) (Zs K x (10))))))
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 (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 t1 : 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 (17)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (15)
try rw [show (0) + (15) + 1 + (2) = 18 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (6)
try rw [show (2) + (6) + 1 + (7) = 16 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (18))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (16)
try rw [show (0) + (16) + 1 + (2) = 19 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (7)
try rw [show (1) + (7) + 1 + (7) = 16 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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.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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (19))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (14)
try rw [show (0) + (14) + 1 + (3) = 18 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 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 (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (17)
try rw [show (0) + (17) + 1 + (2) = 20 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (8)
try rw [show (2) + (8) + 1 + (7) = 18 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (5)
try rw [show (3) + (5) + 1 + (6) = 15 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 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 (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.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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (1)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (20))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (16)
try rw [show (0) + (16) + 1 + (2) = 19 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (16)
try rw [show (0) + (16) + 1 + (4) = 21 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (7)
try rw [show (2) + (7) + 1 + (7) = 17 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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.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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (1)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (21))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (15)
try rw [show (0) + (15) + 1 + (4) = 20 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 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 (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (19)
try rw [show (0) + (19) + 1 + (2) = 22 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (22))))) := A1.Dn K O x hD (0) (21) (0) (1) (2) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (22))) := O.mul_nonneg _ _ (hx (1)) (hx (21))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (22))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (18)
try rw [show (0) + (18) + 1 + (2) = 21 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (18)
try rw [show (0) + (18) + 1 + (4) = 23 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (23))))) := A1.Dn K O x hD (0) (22) (0) (1) (2) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (11)
try rw [show (4) + (11) + 1 + (5) = 21 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (11)
try rw [show (6) + (11) + 1 + (3) = 21 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (23))) := O.mul_nonneg _ _ (hx (1)) (hx (22))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (w + 23))) (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 + 22))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (4)
try rw [show (4) + (4) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (2)
try rw [show (6) + (2) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (0)
try rw [show (8) + (0) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 13))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 15))
exact A1.nn_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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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.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 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)
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (13))) (K.neg (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))) (Zs K x (11))))))
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
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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (1)
try rw [show (5) + (1) + 1 + (5) = 12 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (0)
try rw [show (9) + (0) + 1 + (2) = 12 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (14))) (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))) (Zs K x (11))))))
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 (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (15))) (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))) (Zs K x (11))))))
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 (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (8)
try rw [show (1) + (8) + 1 + (4) = 14 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (3)
try rw [show (5) + (3) + 1 + (5) = 14 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ 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))) (Zs K x (16))) (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))) (Zs K x (11))))))
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 (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (9)
try rw [show (0) + (9) + 1 + (6) = 16 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 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 (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (4)
try rw [show (5) + (4) + 1 + (5) = 15 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (0)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (17))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (8)
try rw [show (1) + (8) + 1 + (6) = 16 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (4)
try rw [show (5) + (4) + 1 + (6) = 16 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (18))) (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))) (Zs K x (11))))))
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 (11)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (7)
try rw [show (2) + (7) + 1 + (6) = 16 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 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 (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (2)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (19))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (7)
try rw [show (5) + (7) + 1 + (5) = 18 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (3)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (20))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (15)
try rw [show (1) + (15) + 1 + (2) = 19 by lib_nat] at h
try rw [show (1) + (15) + 1 = 17 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 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 (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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (1)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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))) (Zs K x (21))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (16)
try rw [show (1) + (16) + 1 + (2) = 20 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t4 : 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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (1)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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))) (Zs K x (22))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (17)
try rw [show (1) + (17) + 1 + (2) = 21 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (10)
try rw [show (7) + (10) + 1 + (3) = 21 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (22))) := O.mul_nonneg _ _ (hx (1)) (hx (21))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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))) (Zs K x (23))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (18)
try rw [show (1) + (18) + 1 + (2) = 22 by lib_nat] at h
try rw [show (1) + (18) + 1 = 20 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (11)
try rw [show (5) + (11) + 1 + (5) = 22 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (11)
try rw [show (7) + (11) + 1 + (3) = 22 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (23))) := O.mul_nonneg _ _ (hx (1)) (hx (22))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (w + 24))) (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 (w + 23))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (6)
try rw [show (3) + (6) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (4)
try rw [show (5) + (4) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (2)
try rw [show (7) + (2) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (0)
try rw [show (9) + (0) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (10)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (12))))))
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
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.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 t3 : 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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))))) := A1.Dn K O x hD (9) (3) (9) (10) (11) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (14))) (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))) (Zs K x (12))))))
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
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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (1)
try rw [show (6) + (1) + 1 + (5) = 13 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 _ _ (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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (15))) (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))) (Zs K x (12))))))
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 (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (2)
try rw [show (6) + (2) + 1 + (5) = 14 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 _ _ 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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (16))) (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))) (Zs K x (12))))))
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 (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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (3)
try rw [show (6) + (3) + 1 + (5) = 15 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 _ _ 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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (17))) (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))) (Zs K x (12))))))
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 (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (8)
try rw [show (2) + (8) + 1 + (5) = 16 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (4)
try rw [show (6) + (4) + 1 + (5) = 16 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 _ _ (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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (18))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (8)
try rw [show (2) + (8) + 1 + (6) = 17 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (4)
try rw [show (6) + (4) + 1 + (6) = 17 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 _ _ (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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (19))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (4)
try rw [show (6) + (4) + 1 + (7) = 18 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 _ _ (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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (20))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (15)
try rw [show (3) + (15) + 1 + (1) = 20 by lib_nat] at h
try rw [show (3) + (15) + 1 = 19 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : 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 t6 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (21))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (21))))) := A1.Dn K O x hD (3) (17) (3) (4) (5) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (1)
try rw [show (10) + (1) + 1 + (2) = 14 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : 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 t7 : 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 _ _ 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (22))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (22))))) := A1.Dn K O x hD (3) (18) (3) (4) (5) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : 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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (14))))) := A1.Dn K O x hD (11) (2) (11) (12) (13) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (23))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (23))))) := A1.Dn K O x hD (3) (19) (3) (4) (5) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (10)
try rw [show (6) + (10) + 1 + (5) = 22 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (10)
try rw [show (8) + (10) + 1 + (3) = 22 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : 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 _ _ 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (24))))) := A1.Dn K O x hD (3) (20) (3) (4) (5) (23) (24) (25) (by 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 (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (11)
try rw [show (6) + (11) + 1 + (5) = 23 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (11)
try rw [show (8) + (11) + 1 + (3) = 23 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (1)
try rw [show (10) + (1) + 1 + (5) = 17 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : 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 _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (w + 25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (8)
try rw [show (2) + (8) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (6)
try rw [show (4) + (6) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (4)
try rw [show (6) + (4) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (2)
try rw [show (8) + (2) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (0)
try rw [show (10) + (0) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (13))))))
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
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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (1)
try rw [show (10) + (1) + 1 + (2) = 14 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))))) := A1.Dn K O x hD (10) (3) (10) (11) (12) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (15))) (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))) (Zs K x (13))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (0)
try rw [show (11) + (0) + 1 + (2) = 14 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (16))) (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))) (Zs K x (13))))))
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 (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (2)
try rw [show (9) + (2) + 1 + (3) = 15 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (17))) (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))) (Zs K x (13))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (3)
try rw [show (7) + (3) + 1 + (5) = 16 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (18))) (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))) (Zs K x (13))))))
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 (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (4)
try rw [show (7) + (4) + 1 + (5) = 17 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (19))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (8)
try rw [show (3) + (8) + 1 + (6) = 18 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (5)
try rw [show (5) + (5) + 1 + (7) = 18 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (4)
try rw [show (7) + (4) + 1 + (6) = 18 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (2)
try rw [show (9) + (2) + 1 + (6) = 18 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (0)
try rw [show (11) + (0) + 1 + (6) = 18 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (20))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (2)
try rw [show (9) + (2) + 1 + (7) = 19 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (0)
try rw [show (11) + (0) + 1 + (7) = 19 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (21))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (15)
try rw [show (4) + (15) + 1 + (1) = 21 by lib_nat] at h
try rw [show (4) + (15) + 1 = 20 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (7)
try rw [show (9) + (7) + 1 + (3) = 20 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (7)
try rw [show (11) + (7) + 1 + (1) = 20 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (22))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (22))))) := A1.Dn K O x hD (4) (17) (4) (5) (6) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (8)
try rw [show (9) + (8) + 1 + (3) = 21 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (8)
try rw [show (11) + (8) + 1 + (1) = 21 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (23))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (23))))) := A1.Dn K O x hD (4) (18) (4) (5) (6) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (9)
try rw [show (9) + (9) + 1 + (3) = 22 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (9)
try rw [show (11) + (9) + 1 + (1) = 22 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (24))))) := A1.Dn K O x hD (4) (19) (4) (5) (6) (23) (24) (25) (by 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 (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (10)
try rw [show (7) + (10) + 1 + (5) = 23 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (10)
try rw [show (9) + (10) + 1 + (3) = 23 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (10)
try rw [show (11) + (10) + 1 + (1) = 23 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (25))))) := A1.Dn K O x hD (4) (20) (4) (5) (6) (24) (25) (26) (by 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 (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (11)
try rw [show (7) + (11) + 1 + (5) = 24 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (11)
try rw [show (9) + (11) + 1 + (3) = 24 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (1)
try rw [show (11) + (1) + 1 + (5) = 18 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (11)
try rw [show (11) + (11) + 1 + (1) = 24 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (w + 26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (8)
try rw [show (3) + (8) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (6)
try rw [show (5) + (6) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (4)
try rw [show (7) + (4) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (2)
try rw [show (9) + (2) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 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 (12)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (0)
try rw [show (11) + (0) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (14))))))
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
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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (16))) (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))) (Zs K x (14))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (1)
try rw [show (8) + (1) + 1 + (5) = 15 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (0)
try rw [show (12) + (0) + 1 + (2) = 15 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (17))) (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))) (Zs K x (14))))))
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 (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (2)
try rw [show (6) + (2) + 1 + (7) = 16 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (2)
try rw [show (10) + (2) + 1 + (3) = 16 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (0)
try rw [show (12) + (0) + 1 + (3) = 16 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (18))) (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))) (Zs K x (14))))))
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 (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 t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (0)
try rw [show (12) + (0) + 1 + (4) = 17 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (19))) (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))) (Zs K x (14))))))
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 (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 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 (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 t2 : 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 (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (4)
try rw [show (8) + (4) + 1 + (5) = 18 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (0)
try rw [show (12) + (0) + 1 + (5) = 18 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (20))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (8)
try rw [show (4) + (8) + 1 + (6) = 19 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (5)
try rw [show (6) + (5) + 1 + (7) = 19 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (4)
try rw [show (8) + (4) + 1 + (6) = 19 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (2)
try rw [show (10) + (2) + 1 + (6) = 19 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (0)
try rw [show (12) + (0) + 1 + (6) = 19 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (21))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (2)
try rw [show (10) + (2) + 1 + (7) = 20 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (0)
try rw [show (12) + (0) + 1 + (7) = 20 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (22))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (15)
try rw [show (5) + (15) + 1 + (1) = 22 by lib_nat] at h
try rw [show (5) + (15) + 1 = 21 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (7)
try rw [show (8) + (7) + 1 + (5) = 21 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (7)
try rw [show (10) + (7) + 1 + (3) = 21 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (7)
try rw [show (12) + (7) + 1 + (1) = 21 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (23))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (23))))) := A1.Dn K O x hD (5) (17) (5) (6) (7) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (8)
try rw [show (8) + (8) + 1 + (5) = 22 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (8)
try rw [show (10) + (8) + 1 + (3) = 22 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (8)
try rw [show (12) + (8) + 1 + (1) = 22 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (24))))) := A1.Dn K O x hD (5) (18) (5) (6) (7) (23) (24) (25) (by 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 (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (9)
try rw [show (8) + (9) + 1 + (5) = 23 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (9)
try rw [show (10) + (9) + 1 + (3) = 23 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (9)
try rw [show (12) + (9) + 1 + (1) = 23 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (25))))) := A1.Dn K O x hD (5) (19) (5) (6) (7) (24) (25) (26) (by 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 (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (10)
try rw [show (8) + (10) + 1 + (5) = 24 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (10)
try rw [show (10) + (10) + 1 + (3) = 24 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (1)
try rw [show (12) + (1) + 1 + (4) = 18 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (10)
try rw [show (12) + (10) + 1 + (1) = 24 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (26))))) := A1.Dn K O x hD (5) (20) (5) (6) (7) (25) (26) (27) (by 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 (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (11)
try rw [show (8) + (11) + 1 + (5) = 25 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (11)
try rw [show (10) + (11) + 1 + (3) = 25 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (1)
try rw [show (12) + (1) + 1 + (5) = 19 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (11)
try rw [show (12) + (11) + 1 + (1) = 25 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (w + 27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (8)
try rw [show (4) + (8) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (7)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (6)
try rw [show (6) + (6) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (4)
try rw [show (8) + (4) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (2)
try rw [show (10) + (2) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 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 (13)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (0)
try rw [show (12) + (0) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (15))))))
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
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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (17))) (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))) (Zs K x (15))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (1)
try rw [show (9) + (1) + 1 + (5) = 16 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (0)
try rw [show (13) + (0) + 1 + (2) = 16 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (18))) (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))) (Zs K x (15))))))
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 (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (2)
try rw [show (7) + (2) + 1 + (7) = 17 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (2)
try rw [show (11) + (2) + 1 + (3) = 17 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (0)
try rw [show (13) + (0) + 1 + (3) = 17 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (19))) (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))) (Zs K x (15))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (0)
try rw [show (13) + (0) + 1 + (4) = 18 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (20))) (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))) (Zs K x (15))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (4)
try rw [show (9) + (4) + 1 + (5) = 19 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (0)
try rw [show (13) + (0) + 1 + (5) = 19 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (21))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (8)
try rw [show (5) + (8) + 1 + (6) = 20 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (5)
try rw [show (7) + (5) + 1 + (7) = 20 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (4)
try rw [show (9) + (4) + 1 + (6) = 20 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (2)
try rw [show (11) + (2) + 1 + (6) = 20 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (0)
try rw [show (13) + (0) + 1 + (6) = 20 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (22))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (4)
try rw [show (9) + (4) + 1 + (7) = 21 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (2)
try rw [show (11) + (2) + 1 + (7) = 21 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (0)
try rw [show (13) + (0) + 1 + (7) = 21 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (23))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (23))))) := A1.Dn K O x hD (6) (16) (6) (7) (8) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (15)
try rw [show (6) + (15) + 1 + (1) = 23 by lib_nat] at h
try rw [show (6) + (15) + 1 = 22 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (7)
try rw [show (9) + (7) + 1 + (5) = 22 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (7)
try rw [show (11) + (7) + 1 + (3) = 22 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (7)
try rw [show (13) + (7) + 1 + (1) = 22 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (24))))) := A1.Dn K O x hD (6) (17) (6) (7) (8) (23) (24) (25) (by 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 (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (8)
try rw [show (9) + (8) + 1 + (5) = 23 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (8)
try rw [show (11) + (8) + 1 + (3) = 23 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (1)
try rw [show (13) + (1) + 1 + (2) = 17 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (8)
try rw [show (13) + (8) + 1 + (1) = 23 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (16))))) := A1.Dn K O x hD (14) (1) (14) (15) (16) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (25))))) := A1.Dn K O x hD (6) (18) (6) (7) (8) (24) (25) (26) (by 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 (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (9)
try rw [show (9) + (9) + 1 + (5) = 24 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (9)
try rw [show (11) + (9) + 1 + (3) = 24 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (1)
try rw [show (13) + (1) + 1 + (3) = 18 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (9)
try rw [show (13) + (9) + 1 + (1) = 24 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (12)
try rw [show (6) + (12) + 1 + (7) = 26 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (26))))) := A1.Dn K O x hD (6) (19) (6) (7) (8) (25) (26) (27) (by 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 (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (10)
try rw [show (9) + (10) + 1 + (5) = 25 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (10)
try rw [show (11) + (10) + 1 + (3) = 25 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (1)
try rw [show (13) + (1) + 1 + (4) = 19 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (10)
try rw [show (13) + (10) + 1 + (1) = 25 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (13)
try rw [show (6) + (13) + 1 + (7) = 27 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (27))))) := A1.Dn K O x hD (6) (20) (6) (7) (8) (26) (27) (28) (by 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 (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (11)
try rw [show (9) + (11) + 1 + (5) = 26 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (11)
try rw [show (11) + (11) + 1 + (3) = 26 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (1)
try rw [show (13) + (1) + 1 + (5) = 20 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (11)
try rw [show (13) + (11) + 1 + (1) = 26 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (19))))) := A1.Dn K O x hD (14) (4) (14) (15) (16) (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 _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 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 (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (w + 28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (8)
try rw [show (5) + (8) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (w + 13) = 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 (8)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (6)
try rw [show (7) + (6) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (4)
try rw [show (9) + (4) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (2)
try rw [show (11) + (2) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 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 (14)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (13) (0)
try rw [show (13) + (0) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 13) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K 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 _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (16))))))
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
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))))) := A1.Dn K O x hD (7) (9) (7) (8) (9) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (1)
try rw [show (13) + (1) + 1 + (2) = 17 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (18))) (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))) (Zs K x (16))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (1)
try rw [show (10) + (1) + 1 + (5) = 17 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (0)
try rw [show (14) + (0) + 1 + (2) = 17 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (19))) (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))) (Zs K x (16))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (2)
try rw [show (12) + (2) + 1 + (3) = 18 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (0)
try rw [show (14) + (0) + 1 + (3) = 18 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (3) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (20))) (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))) (Zs K x (16))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (3)
try rw [show (10) + (3) + 1 + (5) = 19 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (2)
try rw [show (12) + (2) + 1 + (4) = 19 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (0)
try rw [show (14) + (0) + 1 + (4) = 19 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (4) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (21))) (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))) (Zs K x (16))))))
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 (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 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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (4)
try rw [show (10) + (4) + 1 + (5) = 20 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (0)
try rw [show (14) + (0) + 1 + (5) = 20 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (5) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (22))) (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))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (8)
try rw [show (6) + (8) + 1 + (6) = 21 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 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 (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (5)
try rw [show (8) + (5) + 1 + (7) = 21 by lib_nat] at h
try rw [show (8) + (5) + 1 = 14 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 t2 : 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 (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (4)
try rw [show (10) + (4) + 1 + (6) = 21 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (2)
try rw [show (12) + (2) + 1 + (6) = 21 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (0)
try rw [show (14) + (0) + 1 + (6) = 21 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (6) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (23))) (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))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (4)
try rw [show (10) + (4) + 1 + (7) = 22 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (2)
try rw [show (12) + (2) + 1 + (7) = 22 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (0)
try rw [show (14) + (0) + 1 + (7) = 22 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (7) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))))) := A1.Dn K O x hD (7) (16) (7) (8) (9) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (15)
try rw [show (7) + (15) + 1 + (1) = 24 by lib_nat] at h
try rw [show (7) + (15) + 1 = 23 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (7)
try rw [show (10) + (7) + 1 + (5) = 23 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (7)
try rw [show (12) + (7) + 1 + (3) = 23 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (7)
try rw [show (14) + (7) + 1 + (1) = 23 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (25))))) := A1.Dn K O x hD (7) (17) (7) (8) (9) (24) (25) (26) (by 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 (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (8)
try rw [show (10) + (8) + 1 + (5) = 24 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (8)
try rw [show (12) + (8) + 1 + (3) = 24 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (1)
try rw [show (14) + (1) + 1 + (2) = 18 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (8)
try rw [show (14) + (8) + 1 + (1) = 24 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (17))))) := A1.Dn K O x hD (15) (1) (15) (16) (17) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (26))))) := A1.Dn K O x hD (7) (18) (7) (8) (9) (25) (26) (27) (by 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 (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (9)
try rw [show (10) + (9) + 1 + (5) = 25 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (9)
try rw [show (12) + (9) + 1 + (3) = 25 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (1)
try rw [show (14) + (1) + 1 + (3) = 19 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (3) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (9)
try rw [show (14) + (9) + 1 + (1) = 25 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (12)
try rw [show (7) + (12) + 1 + (7) = 27 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (27))))) := A1.Dn K O x hD (7) (19) (7) (8) (9) (26) (27) (28) (by 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 (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (10)
try rw [show (10) + (10) + 1 + (5) = 26 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (10)
try rw [show (12) + (10) + 1 + (3) = 26 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (1)
try rw [show (14) + (1) + 1 + (4) = 20 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (4) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (10)
try rw [show (14) + (10) + 1 + (1) = 26 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (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 _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (13)
try rw [show (7) + (13) + 1 + (7) = 28 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (28))))) := A1.Dn K O x hD (7) (20) (7) (8) (9) (27) (28) (29) (by 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 (11)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (11)
try rw [show (10) + (11) + 1 + (5) = 27 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (11)
try rw [show (12) + (11) + 1 + (3) = 27 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (1)
try rw [show (14) + (1) + 1 + (5) = 21 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (5) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (11)
try rw [show (14) + (11) + 1 + (1) = 27 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (20))))) := A1.Dn K O x hD (15) (4) (15) (16) (17) (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 _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 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 (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (w + 29))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (8)
try rw [show (6) + (8) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (w + 13) = 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 (9)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (6)
try rw [show (8) + (6) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (4)
try rw [show (10) + (4) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (2)
try rw [show (12) + (2) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 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 (15)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 13) (14) (0)
try rw [show (14) + (0) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (w + 13) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K 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 _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (17))))))
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
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))))) := A1.Dn K O x hD (8) (9) (8) (9) (10) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (1)
try rw [show (14) + (1) + 1 + (2) = 18 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (19))) (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))) (Zs K x (17))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (1)
try rw [show (11) + (1) + 1 + (5) = 18 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (1)
try rw [show (13) + (1) + 1 + (3) = 18 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (2) (15) (0)
try rw [show (15) + (0) + 1 + (2) = 18 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (2) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (20))) (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))) (Zs K x (17))))))
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 (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (2)
try rw [show (9) + (2) + 1 + (7) = 19 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (2)
try rw [show (13) + (2) + 1 + (3) = 19 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (0)
try rw [show (15) + (0) + 1 + (3) = 19 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (3) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (21))) (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))) (Zs K x (17))))))
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 (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (3)
try rw [show (9) + (3) + 1 + (7) = 20 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (3)
try rw [show (11) + (3) + 1 + (5) = 20 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (2)
try rw [show (13) + (2) + 1 + (4) = 20 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (0)
try rw [show (15) + (0) + 1 + (4) = 20 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (4) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (22))) (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))) (Zs K x (17))))))
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 (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 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 (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (4)
try rw [show (9) + (4) + 1 + (7) = 21 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (4)
try rw [show (11) + (4) + 1 + (5) = 21 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (2)
try rw [show (13) + (2) + 1 + (5) = 21 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (0)
try rw [show (15) + (0) + 1 + (5) = 21 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (5) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (23))) (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))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (8)
try rw [show (7) + (8) + 1 + (6) = 22 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 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 (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (5)
try rw [show (9) + (5) + 1 + (7) = 22 by lib_nat] at h
try rw [show (9) + (5) + 1 = 15 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (4)
try rw [show (11) + (4) + 1 + (6) = 22 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (2)
try rw [show (13) + (2) + 1 + (6) = 22 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (6) (15) (0)
try rw [show (15) + (0) + 1 + (6) = 22 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (6) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (6)
try rw [show (9) + (6) + 1 + (7) = 23 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (4)
try rw [show (11) + (4) + 1 + (7) = 23 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (2)
try rw [show (13) + (2) + 1 + (7) = 23 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (7) (15) (0)
try rw [show (15) + (0) + 1 + (7) = 23 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (7) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (25))))) := A1.Dn K O x hD (8) (16) (8) (9) (10) (24) (25) (26) (by 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 (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (15)
try rw [show (8) + (15) + 1 + (1) = 25 by lib_nat] at h
try rw [show (8) + (15) + 1 = 24 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (7)
try rw [show (11) + (7) + 1 + (5) = 24 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (7)
try rw [show (13) + (7) + 1 + (3) = 24 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (7)
try rw [show (15) + (7) + 1 + (1) = 24 by lib_nat] at h
try rw [show (15) + (7) + 1 = 23 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (10)
try rw [show (8) + (10) + 1 + (7) = 26 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (26))))) := A1.Dn K O x hD (8) (17) (8) (9) (10) (25) (26) (27) (by 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 (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (8)
try rw [show (11) + (8) + 1 + (5) = 25 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (8)
try rw [show (13) + (8) + 1 + (3) = 25 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (2) (15) (1)
try rw [show (15) + (1) + 1 + (2) = 19 by lib_nat] at h
try rw [show (15) + (1) + 1 = 17 by lib_nat] at h
try rw [show (15) + (2) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (8)
try rw [show (15) + (8) + 1 + (1) = 25 by lib_nat] at h
try rw [show (15) + (8) + 1 = 24 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (18))))) := A1.Dn K O x hD (16) (1) (16) (17) (18) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (11)
try rw [show (8) + (11) + 1 + (7) = 27 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (27))))) := A1.Dn K O x hD (8) (18) (8) (9) (10) (26) (27) (28) (by 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 (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (9)
try rw [show (11) + (9) + 1 + (5) = 26 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (9)
try rw [show (13) + (9) + 1 + (3) = 26 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (1)
try rw [show (15) + (1) + 1 + (3) = 20 by lib_nat] at h
try rw [show (15) + (1) + 1 = 17 by lib_nat] at h
try rw [show (15) + (3) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (9)
try rw [show (15) + (9) + 1 + (1) = 26 by lib_nat] at h
try rw [show (15) + (9) + 1 = 25 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (19))))) := A1.Dn K O x hD (16) (2) (16) (17) (18) (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 _ _ 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (10)
try rw [show (8) + (10) + 1 + (7) = 26 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (12)
try rw [show (8) + (12) + 1 + (7) = 28 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (28))))) := A1.Dn K O x hD (8) (19) (8) (9) (10) (27) (28) (29) (by 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 (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (10)
try rw [show (11) + (10) + 1 + (5) = 27 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (10)
try rw [show (13) + (10) + 1 + (3) = 27 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (1)
try rw [show (15) + (1) + 1 + (4) = 21 by lib_nat] at h
try rw [show (15) + (1) + 1 = 17 by lib_nat] at h
try rw [show (15) + (4) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (10)
try rw [show (15) + (10) + 1 + (1) = 27 by lib_nat] at h
try rw [show (15) + (10) + 1 = 26 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))))) := A1.Dn K O x hD (16) (3) (16) (17) (18) (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 _ _ 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (11)
try rw [show (8) + (11) + 1 + (7) = 27 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (13)
try rw [show (8) + (13) + 1 + (7) = 29 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (28)) (Zs K x (30))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (29))))) := A1.Dn K O x hD (8) (20) (8) (9) (10) (28) (29) (30) (by 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 (12)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (11)
try rw [show (11) + (11) + 1 + (5) = 28 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (11)
try rw [show (13) + (11) + 1 + (3) = 28 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (1)
try rw [show (15) + (1) + 1 + (5) = 22 by lib_nat] at h
try rw [show (15) + (1) + 1 = 17 by lib_nat] at h
try rw [show (15) + (5) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (11)
try rw [show (15) + (11) + 1 + (1) = 28 by lib_nat] at h
try rw [show (15) + (11) + 1 = 27 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (21))))) := A1.Dn K O x hD (16) (4) (16) (17) (18) (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 _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 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 (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (w + 30))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (8)
try rw [show (7) + (8) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (w + 13) = 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 (10)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (6)
try rw [show (9) + (6) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (4)
try rw [show (11) + (4) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (13) (2)
try rw [show (13) + (2) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (w + 13) = w + 26 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 (16)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 13) (15) (0)
try rw [show (15) + (0) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (w + 13) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K 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 _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (9) = a + 18 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (5) = a + 18 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (3) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (3) = a + 18 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (3) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (1) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (1) = a + 18 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (1) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 20))) (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))) (Zs K x (a + 19))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (1)
try rw [show (a + 8) + (1) + 1 + (9) = a + 19 by lib_nat] at h
try rw [show (a + 8) + (1) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (1)
try rw [show (a + 12) + (1) + 1 + (5) = a + 19 by lib_nat] at h
try rw [show (a + 12) + (1) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (3) (a + 14) (1)
try rw [show (a + 14) + (1) + 1 + (3) = a + 19 by lib_nat] at h
try rw [show (a + 14) + (1) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 14) + (3) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (2) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (2) = a + 19 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (2) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 21))) (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 + 18))) (Zs K x (a + 20))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (9) = a + 20 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (3) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (3) = a + 20 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (3) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (3) = a + 20 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (3) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 22))) (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 + 19))) (Zs K x (a + 21))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (3)
try rw [show (a + 8) + (3) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 8) + (3) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (3)
try rw [show (a + 10) + (3) + 1 + (7) = a + 21 by lib_nat] at h
try rw [show (a + 10) + (3) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (3)
try rw [show (a + 12) + (3) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 12) + (3) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (4) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (4) = a + 21 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (4) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (4) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (4) = a + 21 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (4) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 23))) (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 + 20))) (Zs K x (a + 22))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (5) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (5) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (5) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 24))) (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 (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (5)
try rw [show (a + 8) + (5) + 1 + (9) = a + 23 by lib_nat] at h
try rw [show (a + 8) + (5) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (5)
try rw [show (a + 10) + (5) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 10) + (5) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (6) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (6) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (6) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (6) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (6) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (6) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (7) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (7) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (7) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (7) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (7) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (7)
try rw [show (a + 8) + (7) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 8) + (7) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (8) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (8) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (8) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (8) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (8) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (8) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (8) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (8) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (9) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (9) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (9) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (9) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (9) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (9) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (9) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (10) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (10) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (10) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (10) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (10) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (10) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (10) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (10) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (10) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (10) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 29))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (11) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (11) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (11) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (11) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (11) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (11) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (11) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (11) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (11) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (11) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 30))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (12) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (12) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (12) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (12) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (12) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (12) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (12) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (12) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (12) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (12) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + w + 31))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + w + 22)) (Zs K x (a + w + 24))) (Zs K x (a + w + 26))) (Zs K x (a + w + 28))) (Zs K x (a + w + 30))) (Zs K x (a + 1 -- (+7 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (w + 13) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (w + 13) = a + w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (w + 13) = a + w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 28)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (w + 13) = a + w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 30)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (w + 13) = a + w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K 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 _ _ t0 t1) t2) t3) t4) (by lib_ring)
include hx hT hD h1 h10 in
theorem sg16 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv3 K (fun i => x (i + 2)))) (fun i => x (i + 6)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (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.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (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 (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (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 (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (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 (7))))))
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 (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 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.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t7 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (14))) (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 (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (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 (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (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 (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (6)) (hx (14))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (Zs K x (18))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (6)) (hx (15))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (Zs K x (19))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (5)) (hx (13))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (6)) (hx (16))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (7)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.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 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 20))) (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))) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 11))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 13))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 15))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 18))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (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)
have t2 : 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 _ _ 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 (6)) (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (4)) (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 (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (2)
try rw [show (2) + (2) + 1 + (5) = 10 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (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 _ _ 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 (6)) (Zs K x (11))) (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 (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 (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 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 (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.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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (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 (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 (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 (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.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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (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 (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 (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 (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 (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.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 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 (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (1)
try rw [show (5) + (1) + 1 + (5) = 12 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (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 (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 (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.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 (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.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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
have t6 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (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 (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 (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 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 (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.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (1)
try rw [show (5) + (1) + 1 + (7) = 14 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
have t6 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (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 (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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 (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 t3 : 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 t4 : 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
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (5)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (8)
try rw [show (5) + (8) + 1 + (2) = 16 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
have t6 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (4)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (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))) (Zs K x (8))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (9)
try rw [show (5) + (9) + 1 + (2) = 17 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (3)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (10)
try rw [show (3) + (10) + 1 + (4) = 18 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (10)
try rw [show (5) + (10) + 1 + (2) = 18 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (3)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (11)
try rw [show (3) + (11) + 1 + (4) = 19 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (11)
try rw [show (5) + (11) + 1 + (2) = 19 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (1)) (hx (19))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (3)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 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 + 21))) (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))) (Zs K x (8))))))
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 (8)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (1)
try rw [show (5) + (1) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 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 (8)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 12))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 14))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (4)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (1)
try rw [show (5) + (1) + 1 + (3) = 10 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.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.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (5)) (Zs K x (7))) (Zs K x (11))) (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 (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (7)
try rw [show (0) + (7) + 1 + (2) = 10 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.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.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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))) (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 (9))))))
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 (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 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.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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (13))) (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 (9))))))
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 (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (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.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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (14))) (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 (9))))))
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.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 (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.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 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 (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (1)
try rw [show (6) + (1) + 1 + (5) = 13 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (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 (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 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 (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.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (1)
try rw [show (6) + (1) + 1 + (6) = 14 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (0)) (hx (14))
have t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (2)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (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 (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 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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (1)
try rw [show (6) + (1) + 1 + (7) = 15 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (0)) (hx (15))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (17))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (3)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (18))) (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))) (Zs K x (9))))))
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 (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (3)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (19))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (3)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (20))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (10)
try rw [show (4) + (10) + 1 + (4) = 19 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (10)
try rw [show (6) + (10) + 1 + (2) = 19 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (1)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (21))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (11)
try rw [show (4) + (11) + 1 + (4) = 20 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (11)
try rw [show (6) + (11) + 1 + (2) = 20 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (1)) (hx (19))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (3)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 22))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (3)
try rw [show (4) + (3) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (7)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (1)
try rw [show (6) + (1) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 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 (9)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 13))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (11))) (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 (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (9)
try rw [show (0) + (9) + 1 + (1) = 11 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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.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 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.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 _ _ 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 (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (12))) (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 (10))))))
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 (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (1)
try rw [show (3) + (1) + 1 + (6) = 11 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 t4 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (0)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.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))) (Zs K x (13))) (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 (10))))))
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 (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (2)
try rw [show (3) + (2) + 1 + (6) = 12 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.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))) (Zs K x (14))) (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 (10))))))
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 (10)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (7)
try rw [show (1) + (7) + 1 + (4) = 13 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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 t3 : 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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.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))) (Zs K x (15))) (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 (10))))))
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 (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (3)
try rw [show (5) + (3) + 1 + (5) = 14 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (16))) (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 (10))))))
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 (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 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 (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (5)
try rw [show (3) + (5) + 1 + (6) = 15 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (1)
try rw [show (7) + (1) + 1 + (6) = 15 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (0)) (hx (16))
exact A1.nn_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))) (Zs K x (17))) (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))) (Zs K x (10))))))
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 (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 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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (1)
try rw [show (7) + (1) + 1 + (7) = 16 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (3)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (18))) (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))) (Zs K x (10))))))
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 (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (5)
try rw [show (3) + (5) + 1 + (6) = 15 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 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 (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (7)
try rw [show (3) + (7) + 1 + (6) = 17 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (3)) (hx (15))
exact A1.nn_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))) (Zs K x (19))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (8)
try rw [show (3) + (8) + 1 + (6) = 18 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (2)) (hx (17))
exact A1.nn_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))) (Zs K x (20))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 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 (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (9)
try rw [show (3) + (9) + 1 + (6) = 19 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (2)) (hx (18))
exact A1.nn_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))) (Zs K x (21))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (10)
try rw [show (3) + (10) + 1 + (6) = 20 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (10)
try rw [show (5) + (10) + 1 + (4) = 20 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (10)
try rw [show (7) + (10) + 1 + (2) = 20 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (5)) (hx (16))
exact A1.nn_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))) (Zs K x (22))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (9)
try rw [show (3) + (9) + 1 + (6) = 19 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 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 (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (11)
try rw [show (3) + (11) + 1 + (6) = 21 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (11)
try rw [show (5) + (11) + 1 + (4) = 21 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (11)
try rw [show (7) + (11) + 1 + (2) = 21 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (3)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (w + 23))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (5)
try rw [show (3) + (5) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (3)
try rw [show (5) + (3) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (1)
try rw [show (7) + (1) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (12))) (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 (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 (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 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.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 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)
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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (13))) (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 (11))))))
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
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (1)
try rw [show (4) + (1) + 1 + (6) = 12 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (14))) (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 (11))))))
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 (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (2)
try rw [show (4) + (2) + 1 + (6) = 13 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (15))) (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 (11))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (1)
try rw [show (8) + (1) + 1 + (4) = 14 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (16))) (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 (11))))))
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 (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (7)
try rw [show (2) + (7) + 1 + (5) = 15 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (3)
try rw [show (6) + (3) + 1 + (5) = 15 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (17))) (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))) (Zs K x (11))))))
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 (11)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (7)
try rw [show (2) + (7) + 1 + (6) = 16 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 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 (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (5)
try rw [show (4) + (5) + 1 + (6) = 16 by lib_nat] at h
try rw [show (4) + (5) + 1 = 10 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (18))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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.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 t3 : 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 _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (19))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 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.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 t3 : 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
have t4 : 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 _ _ 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (20))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 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.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 t3 : 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
have t4 : 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 _ _ 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (21))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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.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 t3 : 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
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))))) := A1.Dn K O x hD (10) (3) (10) (11) (12) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (22))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (10)
try rw [show (6) + (10) + 1 + (4) = 21 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (10)
try rw [show (8) + (10) + 1 + (2) = 21 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (15))))) := A1.Dn K O x hD (10) (4) (10) (11) (12) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (23))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (11)
try rw [show (6) + (11) + 1 + (4) = 22 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (11)
try rw [show (8) + (11) + 1 + (2) = 22 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (16))))) := A1.Dn K O x hD (10) (5) (10) (11) (12) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (w + 24))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (7)
try rw [show (2) + (7) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (5)
try rw [show (4) + (5) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (4) + (5) + 1 = 10 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (3)
try rw [show (6) + (3) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (1)
try rw [show (8) + (1) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (13))) (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 (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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 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.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 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)
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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (14))) (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 (12))))))
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
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (1)
try rw [show (5) + (1) + 1 + (6) = 13 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (15))) (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 (12))))))
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 (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (2)
try rw [show (5) + (2) + 1 + (6) = 14 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (16))) (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 (12))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (1)
try rw [show (9) + (1) + 1 + (4) = 15 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (17))) (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))) (Zs K x (12))))))
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 (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (3)
try rw [show (7) + (3) + 1 + (5) = 16 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (18))) (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))) (Zs K x (12))))))
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 (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (7)
try rw [show (3) + (7) + 1 + (6) = 17 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 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 (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (5)
try rw [show (5) + (5) + 1 + (6) = 17 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (19))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (5)
try rw [show (5) + (5) + 1 + (7) = 18 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t3 : 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 _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (20))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t3 : 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
have t4 : 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 _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (21))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t3 : 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
have t4 : 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 _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (22))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (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 t3 : 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
have t4 : 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 _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (23))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (10)
try rw [show (7) + (10) + 1 + (4) = 22 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (10)
try rw [show (9) + (10) + 1 + (2) = 22 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (11)
try rw [show (7) + (11) + 1 + (4) = 23 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (11)
try rw [show (9) + (11) + 1 + (2) = 23 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (w + 25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (7)
try rw [show (3) + (7) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (5)
try rw [show (5) + (5) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (3)
try rw [show (7) + (3) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (1)
try rw [show (9) + (1) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ 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))) (Zs K x (14))) (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 (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (1)
try rw [show (5) + (1) + 1 + (7) = 14 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (14))))) := A1.Dn K O x hD (9) (4) (9) (10) (11) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (15))) (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 (13))))))
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
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (1)
try rw [show (6) + (1) + 1 + (6) = 14 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.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 t3 : 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 _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (16))) (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 (13))))))
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 (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (2)
try rw [show (6) + (2) + 1 + (6) = 15 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (17))) (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))) (Zs K x (13))))))
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 (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 t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (1)
try rw [show (10) + (1) + 1 + (4) = 16 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (18))) (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))) (Zs K x (13))))))
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 (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 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 (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 t2 : 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 t3 : 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 _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (19))) (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))) (Zs K x (13))))))
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 (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (7)
try rw [show (4) + (7) + 1 + (6) = 18 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 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 (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (5)
try rw [show (6) + (5) + 1 + (6) = 18 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (20))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (5)
try rw [show (6) + (5) + 1 + (7) = 19 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : 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 _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (21))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : 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
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (22))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : 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
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (23))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : 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
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (10)
try rw [show (8) + (10) + 1 + (4) = 23 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (10)
try rw [show (10) + (10) + 1 + (2) = 23 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (11)
try rw [show (8) + (11) + 1 + (4) = 24 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (11)
try rw [show (10) + (11) + 1 + (2) = 24 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (18))))) := A1.Dn K O x hD (12) (5) (12) (13) (14) (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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (w + 26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (7)
try rw [show (4) + (7) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (7)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (5)
try rw [show (6) + (5) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (3)
try rw [show (8) + (3) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (1)
try rw [show (10) + (1) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| 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 (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (15))) (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 (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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
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.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (15))))) := A1.Dn K O x hD (10) (4) (10) (11) (12) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (16))) (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 (14))))))
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
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (1)
try rw [show (7) + (1) + 1 + (6) = 15 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (17))) (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))) (Zs K x (14))))))
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 (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (2)
try rw [show (7) + (2) + 1 + (6) = 16 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (18))) (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))) (Zs K x (14))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (3)
try rw [show (9) + (3) + 1 + (4) = 17 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (19))) (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))) (Zs K x (14))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (4)
try rw [show (7) + (4) + 1 + (6) = 18 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (1)
try rw [show (11) + (1) + 1 + (5) = 18 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (20))) (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))) (Zs K x (14))))))
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 (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (7)
try rw [show (5) + (7) + 1 + (6) = 19 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 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 (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (5)
try rw [show (7) + (5) + 1 + (6) = 19 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (3)
try rw [show (9) + (3) + 1 + (6) = 19 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (1)
try rw [show (11) + (1) + 1 + (6) = 19 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (21))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (5)
try rw [show (7) + (5) + 1 + (7) = 20 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (3)
try rw [show (9) + (3) + 1 + (7) = 20 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (1)
try rw [show (11) + (1) + 1 + (7) = 20 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (22))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (7)
try rw [show (9) + (7) + 1 + (4) = 21 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (7)
try rw [show (11) + (7) + 1 + (2) = 21 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (23))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (8)
try rw [show (9) + (8) + 1 + (4) = 22 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (8)
try rw [show (11) + (8) + 1 + (2) = 22 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (9)
try rw [show (9) + (9) + 1 + (4) = 23 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (9)
try rw [show (11) + (9) + 1 + (2) = 23 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (10)
try rw [show (9) + (10) + 1 + (4) = 24 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (10)
try rw [show (11) + (10) + 1 + (2) = 24 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (11)
try rw [show (9) + (11) + 1 + (4) = 25 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (11)
try rw [show (11) + (11) + 1 + (2) = 25 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (19))))) := A1.Dn K O x hD (13) (5) (13) (14) (15) (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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (w + 27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (7)
try rw [show (5) + (7) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (w + 13) = 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 (8)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (5)
try rw [show (7) + (5) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (3)
try rw [show (9) + (3) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (1)
try rw [show (11) + (1) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (16))) (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 (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (1)
try rw [show (7) + (1) + 1 + (7) = 16 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))))) := A1.Dn K O x hD (7) (8) (7) (8) (9) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (17))) (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))) (Zs K x (15))))))
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
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
have t2 : 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (18))) (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))) (Zs K x (15))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (19))) (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))) (Zs K x (15))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (3)
try rw [show (10) + (3) + 1 + (4) = 18 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (1)
try rw [show (12) + (1) + 1 + (4) = 18 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (20))) (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))) (Zs K x (15))))))
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 (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 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 (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (4)
try rw [show (8) + (4) + 1 + (6) = 19 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (3)
try rw [show (10) + (3) + 1 + (5) = 19 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (1)
try rw [show (12) + (1) + 1 + (5) = 19 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (21))) (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))) (Zs K x (15))))))
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 (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (7)
try rw [show (6) + (7) + 1 + (6) = 20 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 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 (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (5)
try rw [show (8) + (5) + 1 + (6) = 20 by lib_nat] at h
try rw [show (8) + (5) + 1 = 14 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (3)
try rw [show (10) + (3) + 1 + (6) = 20 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (1)
try rw [show (12) + (1) + 1 + (6) = 20 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (22))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (5)
try rw [show (8) + (5) + 1 + (7) = 21 by lib_nat] at h
try rw [show (8) + (5) + 1 = 14 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (3)
try rw [show (10) + (3) + 1 + (7) = 21 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (1)
try rw [show (12) + (1) + 1 + (7) = 21 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (23))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (7)
try rw [show (10) + (7) + 1 + (4) = 22 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (7)
try rw [show (12) + (7) + 1 + (2) = 22 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (16))))) := A1.Dn K O x hD (14) (1) (14) (15) (16) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (8)
try rw [show (10) + (8) + 1 + (4) = 23 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (8)
try rw [show (12) + (8) + 1 + (2) = 23 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (9)
try rw [show (10) + (9) + 1 + (4) = 24 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (9)
try rw [show (12) + (9) + 1 + (2) = 24 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (10)
try rw [show (10) + (10) + 1 + (4) = 25 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (10)
try rw [show (12) + (10) + 1 + (2) = 25 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (19))))) := A1.Dn K O x hD (14) (4) (14) (15) (16) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (12)
try rw [show (6) + (12) + 1 + (7) = 26 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (10)
try rw [show (8) + (10) + 1 + (7) = 26 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (11)
try rw [show (10) + (11) + 1 + (4) = 26 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (11)
try rw [show (12) + (11) + 1 + (2) = 26 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (20))))) := A1.Dn K O x hD (14) (5) (14) (15) (16) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (w + 28))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (7)
try rw [show (6) + (7) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (w + 13) = 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 (9)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (5)
try rw [show (8) + (5) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (8) + (5) + 1 = 14 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (3)
try rw [show (10) + (3) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (1)
try rw [show (12) + (1) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (17))) (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))) (Zs K x (16))))))
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
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))))) := A1.Dn K O x hD (8) (8) (8) (9) (10) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (18))) (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))) (Zs K x (16))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (1)
try rw [show (13) + (1) + 1 + (2) = 17 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (19))) (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))) (Zs K x (16))))))
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 (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (2)
try rw [show (9) + (2) + 1 + (6) = 18 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (1)
try rw [show (13) + (1) + 1 + (3) = 18 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (20))) (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))) (Zs K x (16))))))
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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (3)
try rw [show (9) + (3) + 1 + (6) = 19 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (3)
try rw [show (11) + (3) + 1 + (4) = 19 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (1)
try rw [show (13) + (1) + 1 + (4) = 19 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (21))) (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))) (Zs K x (16))))))
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 (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 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 (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (4)
try rw [show (9) + (4) + 1 + (6) = 20 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (3)
try rw [show (11) + (3) + 1 + (5) = 20 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (1)
try rw [show (13) + (1) + 1 + (5) = 20 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (22))) (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))) (Zs K x (16))))))
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 (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (7)
try rw [show (7) + (7) + 1 + (6) = 21 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 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 (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (5)
try rw [show (9) + (5) + 1 + (6) = 21 by lib_nat] at h
try rw [show (9) + (5) + 1 = 15 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (3)
try rw [show (11) + (3) + 1 + (6) = 21 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (1)
try rw [show (13) + (1) + 1 + (6) = 21 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (23))) (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))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (5)
try rw [show (9) + (5) + 1 + (7) = 22 by lib_nat] at h
try rw [show (9) + (5) + 1 = 15 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (3)
try rw [show (11) + (3) + 1 + (7) = 22 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (1)
try rw [show (13) + (1) + 1 + (7) = 22 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (6)
try rw [show (9) + (6) + 1 + (7) = 23 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (7)
try rw [show (11) + (7) + 1 + (4) = 23 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (7)
try rw [show (13) + (7) + 1 + (2) = 23 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (17))))) := A1.Dn K O x hD (15) (1) (15) (16) (17) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (8)
try rw [show (11) + (8) + 1 + (4) = 24 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (8)
try rw [show (13) + (8) + 1 + (2) = 24 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (8)
try rw [show (9) + (8) + 1 + (7) = 25 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (9)
try rw [show (11) + (9) + 1 + (4) = 25 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (9)
try rw [show (13) + (9) + 1 + (2) = 25 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (9)
try rw [show (9) + (9) + 1 + (7) = 26 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (10)
try rw [show (11) + (10) + 1 + (4) = 26 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (10)
try rw [show (13) + (10) + 1 + (2) = 26 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (20))))) := A1.Dn K O x hD (15) (4) (15) (16) (17) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (12)
try rw [show (7) + (12) + 1 + (7) = 27 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (10)
try rw [show (9) + (10) + 1 + (7) = 27 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (11)
try rw [show (11) + (11) + 1 + (4) = 27 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (11)
try rw [show (13) + (11) + 1 + (2) = 27 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (21))))) := A1.Dn K O x hD (15) (5) (15) (16) (17) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (w + 29))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (7)
try rw [show (7) + (7) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (w + 13) = 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 (10)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (5)
try rw [show (9) + (5) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (9) + (5) + 1 = 15 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (3)
try rw [show (11) + (3) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (13) (1)
try rw [show (13) + (1) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (w + 13) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (18))) (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))) (Zs K x (17))))))
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
have t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (1)
try rw [show (13) + (1) + 1 + (3) = 18 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (19))) (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))) (Zs K x (17))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (1)
try rw [show (12) + (1) + 1 + (4) = 18 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (1)
try rw [show (14) + (1) + 1 + (2) = 18 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (20))) (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))) (Zs K x (17))))))
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 (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (2)
try rw [show (10) + (2) + 1 + (6) = 19 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (2)
try rw [show (12) + (2) + 1 + (4) = 19 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (1)
try rw [show (14) + (1) + 1 + (3) = 19 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (3) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (21))) (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))) (Zs K x (17))))))
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 (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (3)
try rw [show (10) + (3) + 1 + (6) = 20 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (3)
try rw [show (12) + (3) + 1 + (4) = 20 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (1)
try rw [show (14) + (1) + 1 + (4) = 20 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (4) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (22))) (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))) (Zs K x (17))))))
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 (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (7)
try rw [show (8) + (7) + 1 + (5) = 21 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 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 (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (4)
try rw [show (10) + (4) + 1 + (6) = 21 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (3)
try rw [show (12) + (3) + 1 + (5) = 21 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (1)
try rw [show (14) + (1) + 1 + (5) = 21 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (5) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (23))) (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))) (Zs K x (17))))))
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 (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (7)
try rw [show (8) + (7) + 1 + (6) = 22 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 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 (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (5)
try rw [show (10) + (5) + 1 + (6) = 22 by lib_nat] at h
try rw [show (10) + (5) + 1 = 16 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (3)
try rw [show (12) + (3) + 1 + (6) = 22 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (1)
try rw [show (14) + (1) + 1 + (6) = 22 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (6) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (5)
try rw [show (10) + (5) + 1 + (7) = 23 by lib_nat] at h
try rw [show (10) + (5) + 1 = 16 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (3)
try rw [show (12) + (3) + 1 + (7) = 23 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (1)
try rw [show (14) + (1) + 1 + (7) = 23 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (7) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (6)
try rw [show (10) + (6) + 1 + (7) = 24 by lib_nat] at h
try rw [show (10) + (6) + 1 = 17 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (7)
try rw [show (12) + (7) + 1 + (4) = 24 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (7)
try rw [show (14) + (7) + 1 + (2) = 24 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (18))))) := A1.Dn K O x hD (16) (1) (16) (17) (18) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (7)
try rw [show (10) + (7) + 1 + (7) = 25 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (8)
try rw [show (12) + (8) + 1 + (4) = 25 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (8)
try rw [show (14) + (8) + 1 + (2) = 25 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (19))))) := A1.Dn K O x hD (16) (2) (16) (17) (18) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (10)
try rw [show (8) + (10) + 1 + (7) = 26 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (8)
try rw [show (10) + (8) + 1 + (7) = 26 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (9)
try rw [show (12) + (9) + 1 + (4) = 26 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (9)
try rw [show (14) + (9) + 1 + (2) = 26 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))))) := A1.Dn K O x hD (16) (3) (16) (17) (18) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (11)
try rw [show (8) + (11) + 1 + (7) = 27 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (9)
try rw [show (10) + (9) + 1 + (7) = 27 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (10)
try rw [show (12) + (10) + 1 + (4) = 27 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (10)
try rw [show (14) + (10) + 1 + (2) = 27 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (21))))) := A1.Dn K O x hD (16) (4) (16) (17) (18) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (12)
try rw [show (8) + (12) + 1 + (7) = 28 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 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 (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (10)
try rw [show (10) + (10) + 1 + (7) = 28 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (11)
try rw [show (12) + (11) + 1 + (4) = 28 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (29))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (11)
try rw [show (14) + (11) + 1 + (2) = 28 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (22))))) := A1.Dn K O x hD (16) (5) (16) (17) (18) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (w + 30))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (7)
try rw [show (8) + (7) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (5)
try rw [show (10) + (5) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (10) + (5) + 1 = 16 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (3)
try rw [show (12) + (3) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 13) (14) (1)
try rw [show (14) + (1) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (w + 13) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 19))) (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))) (Zs K x (a + 18))))))
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
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 + 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (3) (a + 14) (1)
try rw [show (a + 14) + (1) + 1 + (3) = a + 19 by lib_nat] at h
try rw [show (a + 14) + (1) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 14) + (3) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 20))) (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))) (Zs K x (a + 18))))))
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 + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (1)
try rw [show (a + 9) + (1) + 1 + (8) = a + 19 by lib_nat] at h
try rw [show (a + 9) + (1) + 1 = a + 11 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 + 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (4) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (4) = a + 19 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (4) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (2) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (2) = a + 19 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (2) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 21))) (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))) (Zs K x (a + 18))))))
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 + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (2)
try rw [show (a + 11) + (2) + 1 + (6) = a + 20 by lib_nat] at h
try rw [show (a + 11) + (2) + 1 = a + 14 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (4) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (4) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (3) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (3) = a + 20 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (3) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 22))) (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))) (Zs K x (a + 18))))))
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 + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (3)
try rw [show (a + 11) + (3) + 1 + (6) = a + 21 by lib_nat] at h
try rw [show (a + 11) + (3) + 1 = a + 15 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (4) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (4) = a + 21 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (4) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (4) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (4) = a + 21 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (4) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 23))) (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))) (Zs K x (a + 18))))))
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 + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (4)
try rw [show (a + 9) + (4) + 1 + (8) = a + 22 by lib_nat] at h
try rw [show (a + 9) + (4) + 1 = a + 14 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 + 23))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (6) = a + 22 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (5) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (5) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (5) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (5) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 24))) (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))) (Zs K x (a + 18))))))
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 + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (5)
try rw [show (a + 9) + (5) + 1 + (8) = a + 23 by lib_nat] at h
try rw [show (a + 9) + (5) + 1 = a + 15 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 + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (5)
try rw [show (a + 11) + (5) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 11) + (5) + 1 = a + 17 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (6) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (6) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (6) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (6) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (7) (a + 11) (5)
try rw [show (a + 11) + (5) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 11) + (5) + 1 = a + 17 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (7) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (7) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (7) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (7) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (7)
try rw [show (a + 9) + (7) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 9) + (7) + 1 = a + 17 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 + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (8) (a + 11) (5)
try rw [show (a + 11) + (5) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 11) + (5) + 1 = a + 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (8) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (8) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (8) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (8) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (9) (a + 9) (7)
try rw [show (a + 9) + (7) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 9) + (7) + 1 = a + 17 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 + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (9) (a + 11) (5)
try rw [show (a + 11) + (5) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 11) + (5) + 1 = a + 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (9) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (9) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (9) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (9) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 28))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (10) (a + 9) (7)
try rw [show (a + 9) + (7) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 9) + (7) + 1 = a + 17 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 + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (10) (a + 11) (5)
try rw [show (a + 11) + (5) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 11) + (5) + 1 = a + 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (10) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (10) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (10) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (10) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 29))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (11) (a + 9) (7)
try rw [show (a + 9) + (7) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 9) + (7) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 9) + (11) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (11) (a + 11) (5)
try rw [show (a + 11) + (5) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 11) + (5) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 11) + (11) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (11) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (11) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (11) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (11) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 30))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (12) (a + 9) (7)
try rw [show (a + 9) + (7) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 9) + (7) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 9) + (12) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (12) (a + 11) (5)
try rw [show (a + 11) + (5) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 11) + (5) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 11) + (12) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (12) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (12) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (12) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (12) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + w + 31))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + w + 27))) (Zs K x (a + w + 29))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 9) (7)
try rw [show (a + 9) + (7) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 9) + (7) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 9) + (w + 13) = a + w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 11) (5)
try rw [show (a + 11) + (5) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 11) + (5) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 11) + (w + 13) = a + w + 24 by lib_nat] at h
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 + 14)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (w + 13) = a + w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 29)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 15) (1)
try rw [show (a + 15) + (1) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 15) + (1) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 15) + (w + 13) = a + w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K 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)
include hx hT hD h1 h10 in
theorem sg17 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (pv6 K x) (fun i => x (i + 5)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (7))) (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.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.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 (Zs K x (7)) (Zs K x (8))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (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 (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 t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (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 (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 (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 (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (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))) (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 (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 (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 (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)
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 (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t7 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t8 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (6))))))
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.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (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 (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.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t4 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (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 (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.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (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 (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.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (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 (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.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (4)) (hx (14))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (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.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (4)) (hx (15))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))))) := A1.Dn K O x hD (5) (11) (5) (6) (7) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (4)) (hx (16))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (5)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
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 (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))))) := A1.Dn K O x hD (5) (12) (5) (6) (7) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (4)) (hx (17))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (5)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 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 (7)) (Zs K x (w + 19))) (K.neg (K.mul (K.add (K.add (K.add (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 (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 19))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 18))
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.mul (Zs K x (6)) (Zs K x (w + 8))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 7))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 9))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 11))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 13))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (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.add (Zs K x (6)) (Zs K x (8))) (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 (7))))))
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.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.neg (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))) (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 (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (6)) (Zs K x (8))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (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 (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.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (6)) (Zs K x (8))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (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 (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.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (6)) (Zs K x (8))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (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 (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 (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 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 (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.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t7 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
have t8 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (6)) (Zs K x (8))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (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 (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.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (6)) (Zs K x (8))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (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 (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 (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.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
have t6 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (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 (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 (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.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
have t6 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (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 (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 (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.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (6)) (hx (14))
have t6 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (6)) (Zs K x (8))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (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 (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 (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.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (6)) (hx (15))
have t6 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 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 (6)) (Zs K x (8))) (Zs K x (w + 20))) (K.neg (K.mul (K.add (K.add (K.add (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 (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 20))))) := A1.Dn K O x hD (6) (w + 13) (6) (7) (8) (w + 19) (w + 20) (w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 9))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 8))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 10))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 12))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 14))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (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.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 (8)) (Zs K x (10))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (9))))) := A1.Dn K O x hD (7) (1) (7) (8) (9) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 _ _ 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))) (Zs K x (10))) (K.neg (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))) (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 (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 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 (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.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 (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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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.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 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.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 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.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 _ _ 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (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 (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 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.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 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 (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 t5 : 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 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.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (6)
try rw [show (0) + (6) + 1 + (7) = 14 by lib_nat] at h
try rw [show (0) + (6) + 1 = 7 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 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.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (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 (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 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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (7)
try rw [show (0) + (7) + 1 + (7) = 15 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 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.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (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 _ _ (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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (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 (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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (8)
try rw [show (0) + (8) + 1 + (7) = 16 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (3)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (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 (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 (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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (9)
try rw [show (0) + (9) + 1 + (7) = 17 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (3)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (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 (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.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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : 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 t6 : 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 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.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
have t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (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 (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 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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (18) (19) (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 (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 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.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
have t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (19) (20) (21) (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 (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : 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 t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (1)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (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 (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : 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 t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
have t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (1)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (w + 21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 10)) (Zs K x (w + 12))) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (2)
try rw [show (4) + (2) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 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 (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 t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 9))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 11))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 13))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (10))) (K.neg (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (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.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (11))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (7)
try rw [show (0) + (7) + 1 + (1) = 9 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (7)
try rw [show (0) + (7) + 1 + (3) = 11 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.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.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 t4 : 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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (7)
try rw [show (0) + (7) + 1 + (2) = 10 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (10))))) := A1.Dn K O x hD (0) (9) (0) (1) (2) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (12))))) := A1.Dn K O x hD (0) (11) (0) (1) (2) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (11))))) := A1.Dn K O x hD (1) (9) (1) (2) (3) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.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 t6 : 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 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.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 _ _ 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))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (7)
try rw [show (0) + (7) + 1 + (1) = 9 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (7)
try rw [show (0) + (7) + 1 + (3) = 11 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (7)
try rw [show (0) + (7) + 1 + (5) = 13 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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 t4 : 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 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.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 t7 : 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 t8 : 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 t9 : 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 _ _ 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))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (7)
try rw [show (0) + (7) + 1 + (2) = 10 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (12))))) := A1.Dn K O x hD (0) (11) (0) (1) (2) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 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.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 t7 : 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 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.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 _ _ 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))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (9))))))
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 (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 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 (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 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 (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 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.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 t7 : 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 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.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 _ _ 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))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (9))))))
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 (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (14)
try rw [show (0) + (14) + 1 + (1) = 16 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 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 t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t6 : 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 t7 : 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 t8 : 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 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.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (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 _ _ 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))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (9))))))
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.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 (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.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 t5 : 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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
have t8 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (3)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (9))))))
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 (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.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 t6 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (0)) (hx (14))
have t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t8 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (3)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (9))))))
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 (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 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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (7)
try rw [show (2) + (7) + 1 + (7) = 17 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (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 t6 : 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 t7 : 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 t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
have t9 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (2)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (9))))))
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 (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (5)
try rw [show (2) + (5) + 1 + (6) = 14 by lib_nat] at h
try rw [show (2) + (5) + 1 = 8 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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (8)
try rw [show (3) + (8) + 1 + (5) = 17 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (2)) (hx (14))
have t7 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (3)) (hx (15))
have t8 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (3)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (17)
try rw [show (0) + (17) + 1 + (3) = 21 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 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 (22)) (Zs K x (24))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (23))))) := A1.Dn K O x hD (0) (22) (0) (1) (2) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (21)
try rw [show (0) + (21) + 1 + (1) = 23 by lib_nat] at h
try rw [show (0) + (21) + 1 = 22 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 (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (11)
try rw [show (3) + (11) + 1 + (5) = 20 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : 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 t9 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (3)) (hx (14))
have t10 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (3)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (w + 22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (4)
try rw [show (3) + (4) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (2)
try rw [show (5) + (2) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 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 + 21)) (Zs K x (w + 23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 22))))) := A1.Dn K O x hD (8) (w + 13) (8) (9) (10) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 10))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 12))
have t5 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (11))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (10))))))
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
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.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 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 (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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (8)
try rw [show (0) + (8) + 1 + (2) = 11 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (1)
try rw [show (4) + (1) + 1 + (5) = 11 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (8)
try rw [show (0) + (8) + 1 + (1) = 10 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (8)
try rw [show (0) + (8) + 1 + (3) = 12 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : 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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (8)
try rw [show (0) + (8) + 1 + (2) = 11 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (8)
try rw [show (0) + (8) + 1 + (4) = 13 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (3)
try rw [show (2) + (3) + 1 + (7) = 13 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : 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 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)
have t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (10))))))
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 (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 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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (4)
try rw [show (2) + (4) + 1 + (7) = 14 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : 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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (10))))))
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 (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (8)
try rw [show (0) + (8) + 1 + (4) = 13 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (5)
try rw [show (2) + (5) + 1 + (7) = 15 by lib_nat] at h
try rw [show (2) + (5) + 1 = 8 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (10))))))
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 (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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (6)
try rw [show (2) + (6) + 1 + (7) = 16 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (10))))))
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 (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 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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
have t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (10))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (12)
try rw [show (0) + (12) + 1 + (5) = 18 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (8)
try rw [show (2) + (8) + 1 + (7) = 18 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (8)
try rw [show (4) + (8) + 1 + (5) = 18 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t6 : 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 t7 : 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 t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (14)
try rw [show (0) + (14) + 1 + (2) = 17 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (16)
try rw [show (0) + (16) + 1 + (2) = 19 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (5)
try rw [show (2) + (5) + 1 + (7) = 15 by lib_nat] at h
try rw [show (2) + (5) + 1 = 8 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t7 : 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 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.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (14)
try rw [show (0) + (14) + 1 + (3) = 18 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 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 (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (17)
try rw [show (0) + (17) + 1 + (2) = 20 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (8)
try rw [show (2) + (8) + 1 + (7) = 18 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (5)
try rw [show (3) + (5) + 1 + (6) = 15 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (1)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (16)
try rw [show (0) + (16) + 1 + (2) = 19 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (18)
try rw [show (0) + (18) + 1 + (2) = 21 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (7)
try rw [show (2) + (7) + 1 + (7) = 17 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (11)
try rw [show (4) + (11) + 1 + (5) = 21 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (11)
try rw [show (6) + (11) + 1 + (3) = 21 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (1)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (w + 23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (6)
try rw [show (2) + (6) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (4)
try rw [show (4) + (4) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (2)
try rw [show (6) + (2) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 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 + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 11))
have t5 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (11))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (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
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.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 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 (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 _ _ 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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (11))))))
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
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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (1)
try rw [show (5) + (1) + 1 + (5) = 12 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (8)
try rw [show (1) + (8) + 1 + (3) = 13 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 t4 : 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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (11))))))
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 (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (8)
try rw [show (1) + (8) + 1 + (4) = 14 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (3)
try rw [show (5) + (3) + 1 + (5) = 14 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (15))))) := A1.Dn K O x hD (10) (4) (10) (11) (12) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 t5 : 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 t6 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (8)
try rw [show (1) + (8) + 1 + (6) = 16 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (4)
try rw [show (5) + (4) + 1 + (6) = 16 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (17))))) := A1.Dn K O x hD (10) (6) (10) (11) (12) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : 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 t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (16)
try rw [show (0) + (16) + 1 + (2) = 19 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (7)
try rw [show (2) + (7) + 1 + (7) = 17 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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.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 t7 : 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 _ _ 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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (20))))) := A1.Dn K O x hD (2) (17) (2) (3) (4) (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.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (8)
try rw [show (5) + (8) + 1 + (5) = 19 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (1)
try rw [show (9) + (1) + 1 + (2) = 13 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (4)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (10) (1) (8)
try rw [show (1) + (8) + 1 + (10) = 20 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (10) = 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 (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (10) (3) (6)
try rw [show (3) + (6) + 1 + (10) = 20 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (10) (5) (4)
try rw [show (5) + (4) + 1 + (10) = 20 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (10) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (11)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (10) (7) (2)
try rw [show (7) + (2) + 1 + (10) = 20 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (10) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
have t5 : O.le K.zero (K.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 _ _ 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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (16)
try rw [show (0) + (16) + 1 + (3) = 20 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 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 (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (18)
try rw [show (0) + (18) + 1 + (3) = 22 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (22))))) := A1.Dn K O x hD (0) (21) (0) (1) (2) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (6)
try rw [show (3) + (6) + 1 + (7) = 17 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (10)
try rw [show (7) + (10) + 1 + (3) = 21 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))))) := A1.Dn K O x hD (10) (11) (10) (11) (12) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (17)
try rw [show (0) + (17) + 1 + (3) = 21 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 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 (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (19)
try rw [show (0) + (19) + 1 + (3) = 23 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (23))))) := A1.Dn K O x hD (0) (22) (0) (1) (2) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (7)
try rw [show (3) + (7) + 1 + (7) = 18 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (11)
try rw [show (5) + (11) + 1 + (5) = 22 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (11)
try rw [show (7) + (11) + 1 + (3) = 22 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (23))))) := A1.Dn K O x hD (10) (12) (10) (11) (12) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (w + 24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25) -- (+20 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 + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 13) (1) (8)
try rw [show (1) + (8) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (w + 13) = 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 + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (6)
try rw [show (3) + (6) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 13) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (4)
try rw [show (5) + (4) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (2)
try rw [show (7) + (2) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 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 (w + 23)) (Zs K x (w + 25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 24))))) := A1.Dn K O x hD (10) (w + 13) (10) (11) (12) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (10)) (hx (w + 12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (12))))))
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
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.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 t3 : 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 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.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 _ _ 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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (10)
try rw [show (0) + (10) + 1 + (2) = 13 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (8)
try rw [show (2) + (8) + 1 + (2) = 13 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (1)
try rw [show (6) + (1) + 1 + (5) = 13 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 t5 : 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 _ _ 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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (8)
try rw [show (2) + (8) + 1 + (3) = 14 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 t4 : 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 t5 : 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 _ _ 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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (10)
try rw [show (0) + (10) + 1 + (4) = 15 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 t4 : 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 t5 : 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 _ _ 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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (10)
try rw [show (0) + (10) + 1 + (5) = 16 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (8)
try rw [show (2) + (8) + 1 + (5) = 16 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (4)
try rw [show (4) + (4) + 1 + (7) = 16 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : 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 t5 : 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 _ _ 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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (10)
try rw [show (0) + (10) + 1 + (6) = 17 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (8)
try rw [show (2) + (8) + 1 + (6) = 17 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t4 : 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 t5 : 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 _ _ 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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (4)
try rw [show (6) + (4) + 1 + (7) = 18 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (12)))) -- (+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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (16)
try rw [show (1) + (16) + 1 + (2) = 20 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (20))))) := A1.Dn K O x hD (1) (18) (1) (2) (3) (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (7)
try rw [show (3) + (7) + 1 + (7) = 18 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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.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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (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 (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (17)
try rw [show (0) + (17) + 1 + (2) = 20 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (15)
try rw [show (2) + (15) + 1 + (2) = 20 by lib_nat] at h
try rw [show (2) + (15) + 1 = 18 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (6)
try rw [show (4) + (6) + 1 + (7) = 18 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (21))))) := A1.Dn K O x hD (11) (9) (11) (12) (13) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (1 -- (+7 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (17)
try rw [show (0) + (17) + 1 + (3) = 21 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 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 (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (16)
try rw [show (2) + (16) + 1 + (2) = 21 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (22))))) := A1.Dn K O x hD (11) (10) (11) (12) (13) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x -- (+9 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (14)
try rw [show (0) + (14) + 1 + (7) = 22 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (10)
try rw [show (6) + (10) + 1 + (5) = 22 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (10)
try rw [show (8) + (10) + 1 + (3) = 22 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : 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
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (23))))) := A1.Dn K O x hD (11) (11) (11) (12) (13) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K -- (+11 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (15)
try rw [show (0) + (15) + 1 + (7) = 23 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (11)
try rw [show (6) + (11) + 1 + (5) = 23 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (11)
try rw [show (8) + (11) + 1 + (3) = 23 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (1)
try rw [show (9) + (1) + 1 + (5) = 16 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (24))))) := A1.Dn K O x hD (11) (12) (11) (12) (13) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (w + 25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + -- (+43 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 + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 13) (0) (10)
try rw [show (0) + (10) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (w + 13) = 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 + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (8)
try rw [show (2) + (8) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (w + 13) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (6)
try rw [show (4) + (6) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (4)
try rw [show (6) + (4) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (2)
try rw [show (8) + (2) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 13) = 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 + 24)) (Zs K x (w + 26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 25))))) := A1.Dn K O x hD (11) (w + 13) (11) (12) (13) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (13))))))
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
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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 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)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (10)
try rw [show (1) + (10) + 1 + (2) = 14 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (8)
try rw [show (3) + (8) + 1 + (2) = 14 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (1)
try rw [show (5) + (1) + 1 + (7) = 14 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (8)
try rw [show (3) + (8) + 1 + (3) = 15 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (2)
try rw [show (9) + (2) + 1 + (3) = 15 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (10)
try rw [show (1) + (10) + 1 + (4) = 16 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (10)
try rw [show (1) + (10) + 1 + (5) = 17 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (18))))) := A1.Dn K O x hD (12) (5) (12) (13) (14) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (13))))) -- (+1 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (10)
try rw [show (1) + (10) + 1 + (6) = 18 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (8)
try rw [show (3) + (8) + 1 + (6) = 18 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (5)
try rw [show (5) + (5) + 1 + (7) = 18 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (2)
try rw [show (9) + (2) + 1 + (6) = 18 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (19))))) := A1.Dn K O x hD (12) (6) (12) (13) (14) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (13))) -- (+3 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (2)
try rw [show (9) + (2) + 1 + (7) = 19 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (20))))) := A1.Dn K O x hD (12) (7) (12) (13) (14) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (13 -- (+6 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (16)
try rw [show (2) + (16) + 1 + (2) = 21 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (21))))) := A1.Dn K O x hD (2) (18) (2) (3) (4) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (7)
try rw [show (9) + (7) + 1 + (3) = 20 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (21))))) := A1.Dn K O x hD (12) (8) (12) (13) (14) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x ( -- (+8 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 (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (17)
try rw [show (1) + (17) + 1 + (2) = 21 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (15)
try rw [show (3) + (15) + 1 + (2) = 21 by lib_nat] at h
try rw [show (3) + (15) + 1 = 19 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (8)
try rw [show (9) + (8) + 1 + (3) = 21 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (22))))) := A1.Dn K O x hD (12) (9) (12) (13) (14) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x -- (+10 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (17)
try rw [show (1) + (17) + 1 + (3) = 22 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (16)
try rw [show (3) + (16) + 1 + (2) = 22 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (9)
try rw [show (9) + (9) + 1 + (3) = 22 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (23))))) := A1.Dn K O x hD (12) (10) (12) (13) (14) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K -- (+12 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (17)
try rw [show (1) + (17) + 1 + (4) = 23 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (10)
try rw [show (7) + (10) + 1 + (5) = 23 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (10)
try rw [show (9) + (10) + 1 + (3) = 23 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : 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
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (24))))) := A1.Dn K O x hD (12) (11) (12) (13) (14) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs -- (+14 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 (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (18)
try rw [show (1) + (18) + 1 + (4) = 24 by lib_nat] at h
try rw [show (1) + (18) + 1 = 20 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (25))))) := A1.Dn K O x hD (4) (20) (4) (5) (6) (24) (25) (26) (by 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 (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (19)
try rw [show (4) + (19) + 1 + (1) = 25 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (11)
try rw [show (7) + (11) + 1 + (5) = 24 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (11)
try rw [show (9) + (11) + 1 + (3) = 24 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (25))))) := A1.Dn K O x hD (12) (12) (12) (13) (14) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (w + 26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x ( -- (+46 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 + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 13) (1) (10)
try rw [show (1) + (10) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (w + 13) = 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 + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (8)
try rw [show (3) + (8) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (w + 13) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (6)
try rw [show (5) + (6) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (4)
try rw [show (7) + (4) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (2)
try rw [show (9) + (2) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 13) = 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 (w + 25)) (Zs K x (w + 27))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 26))))) := A1.Dn K O x hD (12) (w + 13) (12) (13) (14) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (14))))))
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
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.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 t3 : 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
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))))) := A1.Dn K O x hD (9) (5) (9) (10) (11) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (10)
try rw [show (2) + (10) + 1 + (2) = 15 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (1)
try rw [show (8) + (1) + 1 + (5) = 15 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (8)
try rw [show (4) + (8) + 1 + (3) = 16 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (2)
try rw [show (10) + (2) + 1 + (3) = 16 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (10)
try rw [show (2) + (10) + 1 + (4) = 17 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t3 : 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (14))))) -- (+1 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (10)
try rw [show (2) + (10) + 1 + (5) = 18 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (4)
try rw [show (6) + (4) + 1 + (7) = 18 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (4)
try rw [show (8) + (4) + 1 + (5) = 18 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (19))))) := A1.Dn K O x hD (13) (5) (13) (14) (15) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (14))) -- (+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 (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (10)
try rw [show (2) + (10) + 1 + (6) = 19 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (8)
try rw [show (4) + (8) + 1 + (6) = 19 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (5)
try rw [show (6) + (5) + 1 + (7) = 19 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (4)
try rw [show (8) + (4) + 1 + (6) = 19 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (2)
try rw [show (10) + (2) + 1 + (6) = 19 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (20))))) := A1.Dn K O x hD (13) (6) (13) (14) (15) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (14 -- (+6 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (2)
try rw [show (10) + (2) + 1 + (7) = 20 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (21))))) := A1.Dn K O x hD (13) (7) (13) (14) (15) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x ( -- (+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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (16)
try rw [show (3) + (16) + 1 + (2) = 22 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (22))))) := A1.Dn K O x hD (3) (18) (3) (4) (5) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (7)
try rw [show (8) + (7) + 1 + (5) = 21 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (7)
try rw [show (10) + (7) + 1 + (3) = 21 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (22))))) := A1.Dn K O x hD (13) (8) (13) (14) (15) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x -- (+10 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (17)
try rw [show (2) + (17) + 1 + (2) = 22 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (15)
try rw [show (4) + (15) + 1 + (2) = 22 by lib_nat] at h
try rw [show (4) + (15) + 1 = 20 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (8)
try rw [show (8) + (8) + 1 + (5) = 22 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (8)
try rw [show (10) + (8) + 1 + (3) = 22 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (23))))) := A1.Dn K O x hD (13) (9) (13) (14) (15) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K -- (+12 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (17)
try rw [show (2) + (17) + 1 + (3) = 23 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (16)
try rw [show (4) + (16) + 1 + (2) = 23 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (9)
try rw [show (8) + (9) + 1 + (5) = 23 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (9)
try rw [show (10) + (9) + 1 + (3) = 23 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (24))))) := A1.Dn K O x hD (13) (10) (13) (14) (15) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs -- (+14 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (17)
try rw [show (2) + (17) + 1 + (4) = 24 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (10)
try rw [show (8) + (10) + 1 + (5) = 24 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (10)
try rw [show (10) + (10) + 1 + (3) = 24 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (25))))) := A1.Dn K O x hD (13) (11) (13) (14) (15) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) ( -- (+16 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (18)
try rw [show (2) + (18) + 1 + (4) = 25 by lib_nat] at h
try rw [show (2) + (18) + 1 = 21 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (26))))) := A1.Dn K O x hD (5) (20) (5) (6) (7) (25) (26) (27) (by 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 (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (19)
try rw [show (5) + (19) + 1 + (1) = 26 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (11)
try rw [show (8) + (11) + 1 + (5) = 25 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (11)
try rw [show (10) + (11) + 1 + (3) = 25 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (0)
try rw [show (12) + (0) + 1 + (4) = 17 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (26))))) := A1.Dn K O x hD (13) (12) (13) (14) (15) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (w + 27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x -- (+48 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 + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (10)
try rw [show (2) + (10) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (8)
try rw [show (4) + (8) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (6)
try rw [show (6) + (6) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (4)
try rw [show (8) + (4) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (2)
try rw [show (10) + (2) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 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 + 26)) (Zs K x (w + 28))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 27))))) := A1.Dn K O x hD (13) (w + 13) (13) (14) (15) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (15))))))
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
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.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 t3 : 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
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (16))))) := A1.Dn K O x hD (10) (5) (10) (11) (12) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (16))))) := A1.Dn K O x hD (14) (1) (14) (15) (16) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (10)
try rw [show (3) + (10) + 1 + (2) = 16 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (1)
try rw [show (7) + (1) + 1 + (7) = 16 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (1)
try rw [show (9) + (1) + 1 + (5) = 16 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (2)
try rw [show (11) + (2) + 1 + (3) = 17 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (15)))) -- (+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 (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (10)
try rw [show (3) + (10) + 1 + (4) = 18 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (19))))) := A1.Dn K O x hD (14) (4) (14) (15) (16) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (15)) -- (+4 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (4)
try rw [show (9) + (4) + 1 + (5) = 19 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (20))))) := A1.Dn K O x hD (14) (5) (14) (15) (16) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (1 -- (+7 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 (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (10)
try rw [show (3) + (10) + 1 + (6) = 20 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (8)
try rw [show (5) + (8) + 1 + (6) = 20 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (5)
try rw [show (7) + (5) + 1 + (7) = 20 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (4)
try rw [show (9) + (4) + 1 + (6) = 20 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (2)
try rw [show (11) + (2) + 1 + (6) = 20 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (21))))) := A1.Dn K O x hD (14) (6) (14) (15) (16) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (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 (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (4)
try rw [show (9) + (4) + 1 + (7) = 21 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (2)
try rw [show (11) + (2) + 1 + (7) = 21 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (22))))) := A1.Dn K O x hD (14) (7) (14) (15) (16) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K -- (+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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (16)
try rw [show (4) + (16) + 1 + (2) = 23 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (23))))) := A1.Dn K O x hD (4) (18) (4) (5) (6) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (7)
try rw [show (9) + (7) + 1 + (5) = 22 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (7)
try rw [show (11) + (7) + 1 + (3) = 22 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (23))))) := A1.Dn K O x hD (14) (8) (14) (15) (16) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs -- (+13 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 (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (17)
try rw [show (3) + (17) + 1 + (2) = 23 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (15)
try rw [show (5) + (15) + 1 + (2) = 23 by lib_nat] at h
try rw [show (5) + (15) + 1 = 21 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (8)
try rw [show (9) + (8) + 1 + (5) = 23 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (8)
try rw [show (11) + (8) + 1 + (3) = 23 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (24))))) := A1.Dn K O x hD (14) (9) (14) (15) (16) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Z -- (+15 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 (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (17)
try rw [show (3) + (17) + 1 + (3) = 24 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (16)
try rw [show (5) + (16) + 1 + (2) = 24 by lib_nat] at h
try rw [show (5) + (16) + 1 = 22 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (9)
try rw [show (9) + (9) + 1 + (5) = 24 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (9)
try rw [show (11) + (9) + 1 + (3) = 24 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (25))))) := A1.Dn K O x hD (14) (10) (14) (15) (16) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) -- (+17 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 (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (17)
try rw [show (3) + (17) + 1 + (4) = 25 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (10)
try rw [show (9) + (10) + 1 + (5) = 25 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (10)
try rw [show (11) + (10) + 1 + (3) = 25 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (1)
try rw [show (12) + (1) + 1 + (4) = 18 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (26))))) := A1.Dn K O x hD (14) (11) (14) (15) (16) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)) -- (+19 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 (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (18)
try rw [show (3) + (18) + 1 + (4) = 26 by lib_nat] at h
try rw [show (3) + (18) + 1 = 22 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (27))))) := A1.Dn K O x hD (6) (20) (6) (7) (8) (26) (27) (28) (by 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 (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (19)
try rw [show (6) + (19) + 1 + (1) = 27 by lib_nat] at h
try rw [show (6) + (19) + 1 = 26 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (11)
try rw [show (9) + (11) + 1 + (5) = 26 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (11)
try rw [show (11) + (11) + 1 + (3) = 26 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (0)
try rw [show (13) + (0) + 1 + (4) = 18 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (27))))) := A1.Dn K O x hD (14) (12) (14) (15) (16) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (w + 28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs -- (+51 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 + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (10)
try rw [show (3) + (10) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (8)
try rw [show (5) + (8) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (6)
try rw [show (7) + (6) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (4)
try rw [show (9) + (4) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 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 (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (2)
try rw [show (11) + (2) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 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 + 27)) (Zs K x (w + 29))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (w + 28))))) := A1.Dn K O x hD (14) (w + 13) (14) (15) (16) (w + 27) (w + 28) (w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (16))))))
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
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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (17))))) := A1.Dn K O x hD (15) (1) (15) (16) (17) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (10)
try rw [show (4) + (10) + 1 + (2) = 17 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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
have t2 : 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (1)
try rw [show (10) + (1) + 1 + (5) = 17 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (16)))) -- (+2 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (8)
try rw [show (6) + (8) + 1 + (3) = 18 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (2)
try rw [show (12) + (2) + 1 + (3) = 18 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (16)) -- (+4 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (10)
try rw [show (4) + (10) + 1 + (4) = 19 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (3)
try rw [show (10) + (3) + 1 + (5) = 19 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (2)
try rw [show (12) + (2) + 1 + (4) = 19 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (20))))) := A1.Dn K O x hD (15) (4) (15) (16) (17) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (1 -- (+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 (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t2 : 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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (4)
try rw [show (10) + (4) + 1 + (5) = 20 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (21))))) := A1.Dn K O x hD (15) (5) (15) (16) (17) (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 _ _ 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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (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 (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (10)
try rw [show (4) + (10) + 1 + (6) = 21 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (8)
try rw [show (6) + (8) + 1 + (6) = 21 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (5)
try rw [show (8) + (5) + 1 + (7) = 21 by lib_nat] at h
try rw [show (8) + (5) + 1 = 14 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 t3 : 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 (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (4)
try rw [show (10) + (4) + 1 + (6) = 21 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (2)
try rw [show (12) + (2) + 1 + (6) = 21 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (22))))) := A1.Dn K O x hD (15) (6) (15) (16) (17) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K -- (+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 (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (4)
try rw [show (10) + (4) + 1 + (7) = 22 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (2)
try rw [show (12) + (2) + 1 + (7) = 22 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (23))))) := A1.Dn K O x hD (15) (7) (15) (16) (17) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs -- (+13 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (16)
try rw [show (5) + (16) + 1 + (2) = 24 by lib_nat] at h
try rw [show (5) + (16) + 1 = 22 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (24))))) := A1.Dn K O x hD (5) (18) (5) (6) (7) (23) (24) (25) (by 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 (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (7)
try rw [show (10) + (7) + 1 + (5) = 23 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (7)
try rw [show (12) + (7) + 1 + (3) = 23 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (24))))) := A1.Dn K O x hD (15) (8) (15) (16) (17) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Z -- (+15 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (17)
try rw [show (4) + (17) + 1 + (2) = 24 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (15)
try rw [show (6) + (15) + 1 + (2) = 24 by lib_nat] at h
try rw [show (6) + (15) + 1 = 22 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (8)
try rw [show (10) + (8) + 1 + (5) = 24 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (8)
try rw [show (12) + (8) + 1 + (3) = 24 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (25))))) := A1.Dn K O x hD (15) (9) (15) (16) (17) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) -- (+17 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (17)
try rw [show (4) + (17) + 1 + (3) = 25 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (16)
try rw [show (6) + (16) + 1 + (2) = 25 by lib_nat] at h
try rw [show (6) + (16) + 1 = 23 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (9)
try rw [show (10) + (9) + 1 + (5) = 25 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (9)
try rw [show (12) + (9) + 1 + (3) = 25 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (26))))) := A1.Dn K O x hD (15) (10) (15) (16) (17) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)) -- (+19 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (17)
try rw [show (4) + (17) + 1 + (4) = 26 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (17)
try rw [show (7) + (17) + 1 + (2) = 27 by lib_nat] at h
try rw [show (7) + (17) + 1 = 25 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (27))))) := A1.Dn K O x hD (7) (19) (7) (8) (9) (26) (27) (28) (by 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 (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (8)
try rw [show (9) + (8) + 1 + (7) = 25 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (10)
try rw [show (10) + (10) + 1 + (5) = 26 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (10)
try rw [show (12) + (10) + 1 + (3) = 26 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (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 (26)) (Zs K x (28))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (27))))) := A1.Dn K O x hD (15) (11) (15) (16) (17) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29 -- (+21 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (18)
try rw [show (4) + (18) + 1 + (4) = 27 by lib_nat] at h
try rw [show (4) + (18) + 1 = 23 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (13)
try rw [show (6) + (13) + 1 + (7) = 27 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (11)
try rw [show (8) + (11) + 1 + (7) = 27 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (11)
try rw [show (10) + (11) + 1 + (5) = 27 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (11)
try rw [show (12) + (11) + 1 + (3) = 27 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (1)
try rw [show (13) + (1) + 1 + (5) = 20 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (28))))) := A1.Dn K O x hD (15) (12) (15) (16) (17) (27) (28) (29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (w + 29))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Z -- (+53 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 + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (10)
try rw [show (4) + (10) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (7)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (8)
try rw [show (6) + (8) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (6)
try rw [show (8) + (6) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (4)
try rw [show (10) + (4) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 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 (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (2)
try rw [show (12) + (2) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 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 + 28)) (Zs K x (w + 30))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 29))))) := A1.Dn K O x hD (15) (w + 13) (15) (16) (17) (w + 28) (w + 29) (w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 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 (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 18))) (K.neg (K.mul (K.add (K.add (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 (a + 15) -- (+62 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (9)
try rw [show (a + 6) + (9) + 1 + (2) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (9) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (0)
try rw [show (a + 9) + (0) + 1 + (7) = a + 17 by lib_nat] at h
try rw [show (a + 9) + (0) + 1 = a + 10 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (4) (a + 12) (1)
try rw [show (a + 12) + (1) + 1 + (4) = a + 18 by lib_nat] at h
try rw [show (a + 12) + (1) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 12) + (4) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 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)
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 16) (1) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 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 (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + -- (+65 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 + 17)) (Zs K x (a + 8)))))) := by
have h := A2.mk K O x hT (2) (a + 5) (10)
try rw [show (a + 5) + (10) + 1 + (2) = a + 18 by lib_nat] at h
try rw [show (a + 5) + (10) + 1 = a + 16 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 + 8)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (9) (a + 7) (1)
try rw [show (a + 7) + (1) + 1 + (9) = a + 18 by lib_nat] at h
try rw [show (a + 7) + (1) + 1 = a + 9 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 t2 : 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 + 12)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (1)
try rw [show (a + 9) + (1) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 9) + (1) + 1 = a + 11 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 t3 : 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
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (3) = a + 18 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 16) (2) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 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 (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 + 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 (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a -- (+67 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 + 20))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (11) = a + 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) + (11) = 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 + 8)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (9) (a + 7) (2)
try rw [show (a + 7) + (2) + 1 + (9) = a + 19 by lib_nat] at h
try rw [show (a + 7) + (2) + 1 = a + 10 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 t2 : 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 t3 : 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 + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (2)
try rw [show (a + 11) + (2) + 1 + (5) = a + 19 by lib_nat] at h
try rw [show (a + 11) + (2) + 1 = a + 14 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
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (3) = a + 19 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 16) (3) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 21))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x -- (+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 + 21))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (3)
try rw [show (a + 5) + (3) + 1 + (11) = a + 20 by lib_nat] at h
try rw [show (a + 5) + (3) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 5) + (11) = 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 + 8)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (9) (a + 7) (3)
try rw [show (a + 7) + (3) + 1 + (9) = a + 20 by lib_nat] at h
try rw [show (a + 7) + (3) + 1 = a + 11 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 t2 : 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 t3 : 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 + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (3)
try rw [show (a + 11) + (3) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 11) + (3) + 1 = a + 15 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
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (4) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (4) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 16) (4) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K -- (+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 + 22))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (4)
try rw [show (a + 5) + (4) + 1 + (11) = a + 21 by lib_nat] at h
try rw [show (a + 5) + (4) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 5) + (11) = 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 + 8)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (9) (a + 7) (4)
try rw [show (a + 7) + (4) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 7) + (4) + 1 = a + 12 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 t2 : 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 + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (4)
try rw [show (a + 9) + (4) + 1 + (7) = a + 21 by lib_nat] at h
try rw [show (a + 9) + (4) + 1 = a + 14 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 t3 : 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 + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (5) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (5) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 16) (5) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs -- (+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 + 23))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (5)
try rw [show (a + 5) + (5) + 1 + (11) = a + 22 by lib_nat] at h
try rw [show (a + 5) + (5) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 5) + (11) = 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 + 8)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (9) (a + 7) (5)
try rw [show (a + 7) + (5) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 7) + (5) + 1 = a + 13 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 t2 : 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 + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (5)
try rw [show (a + 9) + (5) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 9) + (5) + 1 = a + 15 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 t3 : 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 + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (6) = a + 22 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (6) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (6) = a + 22 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (6) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 16) (6) (a + 16) (a + 17) (a + 18) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Z -- (+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 + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (11) = a + 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) + (11) = 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 + 8)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (9) (a + 7) (6)
try rw [show (a + 7) + (6) + 1 + (9) = a + 23 by lib_nat] at h
try rw [show (a + 7) + (6) + 1 = a + 14 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 t2 : 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 + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 t3 : 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 + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (7) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (7) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (7) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 16) (7) (a + 16) (a + 17) (a + 18) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) -- (+78 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 + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (7)
try rw [show (a + 5) + (7) + 1 + (11) = a + 24 by lib_nat] at h
try rw [show (a + 5) + (7) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 5) + (11) = 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 + 8)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (9) (a + 7) (7)
try rw [show (a + 7) + (7) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 7) + (7) + 1 = a + 15 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (8) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (8) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (8) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 16) (8) (a + 16) (a + 17) (a + 18) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21)) -- (+80 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 + 26))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (8)
try rw [show (a + 5) + (8) + 1 + (11) = a + 25 by lib_nat] at h
try rw [show (a + 5) + (8) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 5) + (11) = 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 + 8)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (9) (a + 7) (8)
try rw [show (a + 7) + (8) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 7) + (8) + 1 = a + 16 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (9) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (9) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (9) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (9) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 16) (9) (a + 16) (a + 17) (a + 18) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22 -- (+82 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 + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (9)
try rw [show (a + 5) + (9) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 5) + (9) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 5) + (11) = 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 + 8)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (10) (a + 7) (8)
try rw [show (a + 7) + (8) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 7) + (8) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 7) + (10) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (10) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (10) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (10) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (10) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 16) (10) (a + 16) (a + 17) (a + 18) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + -- (+84 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 + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (10)
try rw [show (a + 5) + (10) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 5) + (10) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 5) + (11) = 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 + 8)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (8)
try rw [show (a + 7) + (8) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 7) + (8) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (11) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 9) + (11) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (11) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 11) + (11) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (11) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (11) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 28))))) := A1.Dn K O x hD (a + 16) (11) (a + 16) (a + 17) (a + 18) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 29))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a -- (+86 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 + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (12) (a + 5) (10)
try rw [show (a + 5) + (10) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 5) + (10) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 5) + (12) = 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 + 8)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (12) (a + 7) (8)
try rw [show (a + 7) + (8) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 7) + (8) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 7) + (12) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (12) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 9) + (12) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (12) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 11) + (12) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (12) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (12) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 29))))) := A1.Dn K O x hD (a + 16) (12) (a + 16) (a + 17) (a + 18) (a + 28) (a + 29) (a + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + w + 30))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21))) (Zs K x (a + w + 2 -- (+118 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 + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 5) (10)
try rw [show (a + 5) + (10) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 5) + (10) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 5) + (w + 13) = a + 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 (a + 8)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 7) (8)
try rw [show (a + 7) + (8) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 7) + (8) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 7) + (w + 13) = a + w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 9) + (w + 13) = a + w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 11) + (w + 13) = a + w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (w + 13) = a + w + 26 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 + 29)) (Zs K x (a + w + 31))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + w + 30))))) := A1.Dn K O x hD (a + 16) (w + 13) (a + 16) (a + 17) (a + 18) (a + w + 29) (a + w + 30) (a + w + 31) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
include hx hT hD h1 h10 in
theorem sg18 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (pv4 K (fun i => x (i + 2))) (fun i => x (i + 5)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (7))) (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.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.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 (Zs K x (7)) (Zs K x (8))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (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 (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 t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (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 (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 (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 (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (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))) (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 (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 (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 (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)
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 (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t7 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t8 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (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))) (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 (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.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (7)) (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))) (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 (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.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_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 (7)) (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))) (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 (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.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (7)) (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))) (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 (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.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (7)) (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))) (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 (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.mul (Zs K x (5)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (4)) (hx (14))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (7)) (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))) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (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.mul (Zs K x (5)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (4)) (hx (15))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (7)) (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))) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))))) := A1.Dn K O x hD (5) (11) (5) (6) (7) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (4)) (hx (16))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (5)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.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 (7)) (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))) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))))) := A1.Dn K O x hD (5) (12) (5) (6) (7) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (4)) (hx (17))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (5)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 19))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 18))
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.mul (Zs K x (6)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 11))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 13))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 15))
exact A1.nn_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 (Zs K x (6)) (Zs K x (8))) (Zs K x (8))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (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.add (Zs K x (6)) (Zs K x (8))) (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 (7))))))
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.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.neg (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))) (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 (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))) (K.neg (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))) (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 (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
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 (6)) (Zs K x (8))) (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))) (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 (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.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (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))) (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 (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 (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 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 (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 (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.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t7 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (6)) (Zs K x (8))) (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))) (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 (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.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (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))) (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 (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 (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 (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 (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 (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.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
have t7 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (Zs K x (6)) (Zs K x (8))) (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))) (Zs K x (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (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.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
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 (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (7))))))
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 (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 (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 (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 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.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
have t7 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (8)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (Zs K x (6)) (Zs K x (8))) (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))) (Zs K x (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (19))))) := A1.Dn K O x hD (6) (12) (6) (7) (8) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (6)) (hx (15))
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 + 1) + 1 = w + 14 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 (K.add (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 20))))) := A1.Dn K O x hD (6) (w + 13) (6) (7) (8) (w + 19) (w + 20) (w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 12))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 14))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (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.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 (8)) (Zs K x (10))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (9))))) := A1.Dn K O x hD (7) (1) (7) (8) (9) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 _ _ 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))) (Zs K x (10))) (K.neg (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))) (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 (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 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 (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.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 (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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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 (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 (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.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 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.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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))) (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 (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 (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 (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.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 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.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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))) (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 (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.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 (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.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 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.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
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))) (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))) (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 (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 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 (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.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 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)
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ 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))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (9))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (9))) (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))) (Zs K x (8))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 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.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (9))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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.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 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.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (9))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))))) := A1.Dn K O x hD (7) (11) (7) (8) (9) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (1)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (5)) (Zs K x (7))) (Zs K x (9))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (20))))) := A1.Dn K O x hD (7) (12) (7) (8) (9) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (1)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 + 22))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (2)
try rw [show (4) + (2) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 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 (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 t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 13))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (10))) (K.neg (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (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.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (11))) (K.neg (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))) (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 (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 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 (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 t2 : 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 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.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.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.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))) (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 (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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))) (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 (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (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 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.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
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))) (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))) (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 (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (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 _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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))) (Zs K x (9))))))
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 (16)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (14)
try rw [show (0) + (14) + 1 + (1) = 16 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (0)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (7)
try rw [show (3) + (7) + 1 + (5) = 16 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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)
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (0)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (8)
try rw [show (3) + (8) + 1 + (5) = 17 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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)
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (0)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))))) := A1.Dn K O x hD (8) (10) (8) (9) (10) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
exact A1.nn_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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (18)
try rw [show (0) + (18) + 1 + (1) = 20 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))))) := A1.Dn K O x hD (8) (11) (8) (9) (10) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (0)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (19)
try rw [show (0) + (19) + 1 + (1) = 21 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (11)
try rw [show (3) + (11) + 1 + (5) = 20 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (21))))) := A1.Dn K O x hD (8) (12) (8) (9) (10) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (22))) := O.mul_nonneg _ _ (hx (0)) (hx (21))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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 (w + 23))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (4)
try rw [show (3) + (4) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (2)
try rw [show (5) + (2) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 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 + 21)) (Zs K x (w + 23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 22))))) := A1.Dn K O x hD (8) (w + 13) (8) (9) (10) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (11))) (K.neg (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (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 _ _ 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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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))) (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 (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 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
have t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (12))))) := A1.Dn K O x hD (9) (2) (9) (10) (11) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (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 (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))))) := A1.Dn K O x hD (9) (3) (9) (10) (11) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (14))))) := A1.Dn K O x hD (9) (4) (9) (10) (11) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (2)
try rw [show (6) + (2) + 1 + (5) = 14 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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 _ _ 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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (16))))) := A1.Dn K O x hD (9) (6) (9) (10) (11) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 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.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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (17))))) := A1.Dn K O x hD (9) (7) (9) (10) (11) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (18))))) := A1.Dn K O x hD (9) (8) (9) (10) (11) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (19))))) := A1.Dn K O x hD (9) (9) (9) (10) (11) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (20))))) := A1.Dn K O x hD (9) (10) (9) (10) (11) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (11)
try rw [show (4) + (11) + 1 + (5) = 21 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (11)
try rw [show (6) + (11) + 1 + (3) = 21 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 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 (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (w + 23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (6)
try rw [show (2) + (6) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (4)
try rw [show (4) + (4) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (2)
try rw [show (6) + (2) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 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 + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (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 _ _ 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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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))) (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 (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 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
have t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (13))))) := A1.Dn K O x hD (10) (2) (10) (11) (12) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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 (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))))) := A1.Dn K O x hD (10) (3) (10) (11) (12) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (15))))) := A1.Dn K O x hD (10) (4) (10) (11) (12) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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 _ _ 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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (17))))) := A1.Dn K O x hD (10) (6) (10) (11) (12) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (18))))) := A1.Dn K O x hD (10) (7) (10) (11) (12) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (19))))) := A1.Dn K O x hD (10) (8) (10) (11) (12) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (10)
try rw [show (7) + (10) + 1 + (3) = 21 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))))) := A1.Dn K O x hD (10) (11) (10) (11) (12) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (11)
try rw [show (5) + (11) + 1 + (5) = 22 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (11)
try rw [show (7) + (11) + 1 + (3) = 22 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (23))))) := A1.Dn K O x hD (10) (12) (10) (11) (12) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = 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 (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (w + 24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (6)
try rw [show (3) + (6) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (4)
try rw [show (5) + (4) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (2)
try rw [show (7) + (2) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 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 + 23)) (Zs K x (w + 25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 24))))) := A1.Dn K O x hD (10) (w + 13) (10) (11) (12) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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 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
have t2 : 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 t3 : 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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (2)
try rw [show (6) + (2) + 1 + (5) = 14 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 (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 t2 : 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 t3 : 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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : 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 t3 : 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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : 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 t3 : 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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (21))))) := A1.Dn K O x hD (11) (9) (11) (12) (13) (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 _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (22))))) := A1.Dn K O x hD (11) (10) (11) (12) (13) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (10)
try rw [show (6) + (10) + 1 + (5) = 22 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (10)
try rw [show (8) + (10) + 1 + (3) = 22 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (23))))) := A1.Dn K O x hD (11) (11) (11) (12) (13) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (11)
try rw [show (6) + (11) + 1 + (5) = 23 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (11)
try rw [show (8) + (11) + 1 + (3) = 23 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (24))))) := A1.Dn K O x hD (11) (12) (11) (12) (13) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = 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 (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (w + 25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (6)
try rw [show (4) + (6) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (4)
try rw [show (6) + (4) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (2)
try rw [show (8) + (2) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 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 + 24)) (Zs K x (w + 26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 25))))) := A1.Dn K O x hD (11) (w + 13) (11) (12) (13) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 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 (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))))) := A1.Dn K O x hD (8) (5) (8) (9) (10) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (1)
try rw [show (5) + (1) + 1 + (7) = 14 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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
have t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (2)
try rw [show (9) + (2) + 1 + (3) = 15 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (18))))) := A1.Dn K O x hD (12) (5) (12) (13) (14) (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 _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (5)
try rw [show (5) + (5) + 1 + (7) = 18 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (4)
try rw [show (7) + (4) + 1 + (6) = 18 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (2)
try rw [show (9) + (2) + 1 + (6) = 18 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (19))))) := A1.Dn K O x hD (12) (6) (12) (13) (14) (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 _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (2)
try rw [show (9) + (2) + 1 + (7) = 19 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (20))))) := A1.Dn K O x hD (12) (7) (12) (13) (14) (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 _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (7)
try rw [show (9) + (7) + 1 + (3) = 20 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (21))))) := A1.Dn K O x hD (12) (8) (12) (13) (14) (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 _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (8)
try rw [show (9) + (8) + 1 + (3) = 21 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (22))))) := A1.Dn K O x hD (12) (9) (12) (13) (14) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (9)
try rw [show (9) + (9) + 1 + (3) = 22 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (23))))) := A1.Dn K O x hD (12) (10) (12) (13) (14) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (10)
try rw [show (7) + (10) + 1 + (5) = 23 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (10)
try rw [show (9) + (10) + 1 + (3) = 23 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (24))))) := A1.Dn K O x hD (12) (11) (12) (13) (14) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (11)
try rw [show (7) + (11) + 1 + (5) = 24 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (11)
try rw [show (9) + (11) + 1 + (3) = 24 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (25))))) := A1.Dn K O x hD (12) (12) (12) (13) (14) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (w + 26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (6)
try rw [show (5) + (6) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 13) = 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 (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (4)
try rw [show (7) + (4) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (2)
try rw [show (9) + (2) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 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 + 25)) (Zs K x (w + 27))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 26))))) := A1.Dn K O x hD (12) (w + 13) (12) (13) (14) (w + 25) (w + 26) (w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 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 (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))))) := A1.Dn K O x hD (9) (5) (9) (10) (11) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (2)
try rw [show (10) + (2) + 1 + (3) = 16 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 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 (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (4)
try rw [show (8) + (4) + 1 + (5) = 18 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (19))))) := A1.Dn K O x hD (13) (5) (13) (14) (15) (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 _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (5)
try rw [show (6) + (5) + 1 + (7) = 19 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (4)
try rw [show (8) + (4) + 1 + (6) = 19 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (2)
try rw [show (10) + (2) + 1 + (6) = 19 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (20))))) := A1.Dn K O x hD (13) (6) (13) (14) (15) (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 _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (2)
try rw [show (10) + (2) + 1 + (7) = 20 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (21))))) := A1.Dn K O x hD (13) (7) (13) (14) (15) (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 _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (7)
try rw [show (8) + (7) + 1 + (5) = 21 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (7)
try rw [show (10) + (7) + 1 + (3) = 21 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (22))))) := A1.Dn K O x hD (13) (8) (13) (14) (15) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (8)
try rw [show (8) + (8) + 1 + (5) = 22 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (8)
try rw [show (10) + (8) + 1 + (3) = 22 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (23))))) := A1.Dn K O x hD (13) (9) (13) (14) (15) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (9)
try rw [show (8) + (9) + 1 + (5) = 23 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (9)
try rw [show (10) + (9) + 1 + (3) = 23 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (24))))) := A1.Dn K O x hD (13) (10) (13) (14) (15) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (10)
try rw [show (8) + (10) + 1 + (5) = 24 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (10)
try rw [show (10) + (10) + 1 + (3) = 24 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (25))))) := A1.Dn K O x hD (13) (11) (13) (14) (15) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (11)
try rw [show (8) + (11) + 1 + (5) = 25 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (11)
try rw [show (10) + (11) + 1 + (3) = 25 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (26))))) := A1.Dn K O x hD (13) (12) (13) (14) (15) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (w + 27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (6)
try rw [show (6) + (6) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (w + 13) = 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 (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (4)
try rw [show (8) + (4) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (2)
try rw [show (10) + (2) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 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 + 26)) (Zs K x (w + 28))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 27))))) := A1.Dn K O x hD (13) (w + 13) (13) (14) (15) (w + 26) (w + 27) (w + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 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 (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
have t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (16))))) := A1.Dn K O x hD (14) (1) (14) (15) (16) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (1)
try rw [show (7) + (1) + 1 + (7) = 16 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (2)
try rw [show (11) + (2) + 1 + (3) = 17 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (19))))) := A1.Dn K O x hD (14) (4) (14) (15) (16) (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 _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 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 (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (4)
try rw [show (9) + (4) + 1 + (5) = 19 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (20))))) := A1.Dn K O x hD (14) (5) (14) (15) (16) (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 _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (5)
try rw [show (7) + (5) + 1 + (7) = 20 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (4)
try rw [show (9) + (4) + 1 + (6) = 20 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (2)
try rw [show (11) + (2) + 1 + (6) = 20 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (21))))) := A1.Dn K O x hD (14) (6) (14) (15) (16) (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 _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (4)
try rw [show (9) + (4) + 1 + (7) = 21 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (2)
try rw [show (11) + (2) + 1 + (7) = 21 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (22))))) := A1.Dn K O x hD (14) (7) (14) (15) (16) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (7)
try rw [show (9) + (7) + 1 + (5) = 22 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (7)
try rw [show (11) + (7) + 1 + (3) = 22 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (23))))) := A1.Dn K O x hD (14) (8) (14) (15) (16) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (8)
try rw [show (9) + (8) + 1 + (5) = 23 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (8)
try rw [show (11) + (8) + 1 + (3) = 23 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (24))))) := A1.Dn K O x hD (14) (9) (14) (15) (16) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (9)
try rw [show (9) + (9) + 1 + (5) = 24 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (9)
try rw [show (11) + (9) + 1 + (3) = 24 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (25))))) := A1.Dn K O x hD (14) (10) (14) (15) (16) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (10)
try rw [show (9) + (10) + 1 + (5) = 25 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (10)
try rw [show (11) + (10) + 1 + (3) = 25 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (26))))) := A1.Dn K O x hD (14) (11) (14) (15) (16) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (11)
try rw [show (9) + (11) + 1 + (5) = 26 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (11)
try rw [show (11) + (11) + 1 + (3) = 26 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (27))))) := A1.Dn K O x hD (14) (12) (14) (15) (16) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (w + 28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (6)
try rw [show (7) + (6) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (w + 13) = 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 (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (4)
try rw [show (9) + (4) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (2)
try rw [show (11) + (2) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 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 + 27)) (Zs K x (w + 29))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (w + 28))))) := A1.Dn K O x hD (14) (w + 13) (14) (15) (16) (w + 27) (w + 28) (w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (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))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (0)
try rw [show (8) + (0) + 1 + (7) = 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (17))))) := A1.Dn K O x hD (15) (1) (15) (16) (17) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (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))) (Zs K x (16))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (16))))))
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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (2)
try rw [show (12) + (2) + 1 + (3) = 18 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (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 _ _ 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (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))) (Zs K x (16))))))
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 (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (3)
try rw [show (10) + (3) + 1 + (5) = 19 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (2)
try rw [show (12) + (2) + 1 + (4) = 19 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (20))))) := A1.Dn K O x hD (15) (4) (15) (16) (17) (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 _ _ 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (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))) (Zs K x (16))))))
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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (4)
try rw [show (10) + (4) + 1 + (5) = 20 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (21))))) := A1.Dn K O x hD (15) (5) (15) (16) (17) (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 _ _ 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (16))))))
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 (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (5)
try rw [show (8) + (5) + 1 + (7) = 21 by lib_nat] at h
try rw [show (8) + (5) + 1 = 14 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 (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (4)
try rw [show (10) + (4) + 1 + (6) = 21 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (2)
try rw [show (12) + (2) + 1 + (6) = 21 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (22))))) := A1.Dn K O x hD (15) (6) (15) (16) (17) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (16))))))
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 (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (4)
try rw [show (10) + (4) + 1 + (7) = 22 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (2)
try rw [show (12) + (2) + 1 + (7) = 22 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (23))))) := A1.Dn K O x hD (15) (7) (15) (16) (17) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (7)
try rw [show (10) + (7) + 1 + (5) = 23 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (7)
try rw [show (12) + (7) + 1 + (3) = 23 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (24))))) := A1.Dn K O x hD (15) (8) (15) (16) (17) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (8)
try rw [show (10) + (8) + 1 + (5) = 24 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (8)
try rw [show (12) + (8) + 1 + (3) = 24 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (25))))) := A1.Dn K O x hD (15) (9) (15) (16) (17) (24) (25) (26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (9)
try rw [show (10) + (9) + 1 + (5) = 25 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (9)
try rw [show (12) + (9) + 1 + (3) = 25 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (26))))) := A1.Dn K O x hD (15) (10) (15) (16) (17) (25) (26) (27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (10)
try rw [show (8) + (10) + 1 + (7) = 26 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (10)
try rw [show (10) + (10) + 1 + (5) = 26 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (10)
try rw [show (12) + (10) + 1 + (3) = 26 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (27))))) := A1.Dn K O x hD (15) (11) (15) (16) (17) (26) (27) (28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (11)
try rw [show (8) + (11) + 1 + (7) = 27 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (11)
try rw [show (10) + (11) + 1 + (5) = 27 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (11)
try rw [show (12) + (11) + 1 + (3) = 27 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (28))))) := A1.Dn K O x hD (15) (12) (15) (16) (17) (27) (28) (29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (w + 29))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (w + 30))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (6)
try rw [show (8) + (6) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (4)
try rw [show (10) + (4) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (2)
try rw [show (12) + (2) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 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 + 28)) (Zs K x (w + 30))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 29))))) := A1.Dn K O x hD (15) (w + 13) (15) (16) (17) (w + 28) (w + 29) (w + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 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))) (Zs K x (a + 19))) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 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
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 + 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (0)
try rw [show (a + 13) + (0) + 1 + (3) = a + 17 by lib_nat] at h
try rw [show (a + 13) + (0) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 16) (1) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 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 + 18))) (Zs K x (a + 20))) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (1)
try rw [show (a + 9) + (1) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 9) + (1) + 1 = a + 11 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 + 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (3) = a + 18 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 16) (2) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 17))))))
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 + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (2)
try rw [show (a + 11) + (2) + 1 + (5) = a + 19 by lib_nat] at h
try rw [show (a + 11) + (2) + 1 = a + 14 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (3) = a + 19 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 16) (3) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 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 + 20))) (Zs K x (a + 22))) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 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 + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (3)
try rw [show (a + 11) + (3) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 11) + (3) + 1 = a + 15 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (4) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (4) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 16) (4) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 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 (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (4)
try rw [show (a + 9) + (4) + 1 + (7) = a + 21 by lib_nat] at h
try rw [show (a + 9) + (4) + 1 = a + 14 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 + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (5) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (5) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 16) (5) (a + 16) (a + 17) (a + 18) (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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 23))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 17))))))
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 + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (5)
try rw [show (a + 9) + (5) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 9) + (5) + 1 = a + 15 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 + 23))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (6) = a + 22 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (6) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (6) = a + 22 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (6) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 16) (6) (a + 16) (a + 17) (a + 18) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 24))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 17))))))
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 + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (7) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (7) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (7) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 16) (7) (a + 16) (a + 17) (a + 18) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 25))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (8) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (8) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (8) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 25))))) := A1.Dn K O x hD (a + 16) (8) (a + 16) (a + 17) (a + 18) (a + 24) (a + 25) (a + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 26))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (9) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (9) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (9) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (9) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 16) (9) (a + 16) (a + 17) (a + 18) (a + 25) (a + 26) (a + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 27))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (10) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (10) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (10) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (10) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 16) (10) (a + 16) (a + 17) (a + 18) (a + 26) (a + 27) (a + 28) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 28))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (11) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 9) + (11) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (11) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 11) + (11) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (11) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (11) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 28))))) := A1.Dn K O x hD (a + 16) (11) (a + 16) (a + 17) (a + 18) (a + 27) (a + 28) (a + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 29))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 30))) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (12) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 9) + (12) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (12) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 11) + (12) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (12) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (12) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 29))))) := A1.Dn K O x hD (a + 16) (12) (a + 16) (a + 17) (a + 18) (a + 28) (a + 29) (a + 30) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by 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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + w + 30))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + w + 27))) (Zs K x (a + w + 29))) (Zs K x (a + w + 31))) (Zs K x (a + -- (+8 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 9) + (w + 13) = a + w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 11) + (w + 13) = a + w + 24 by lib_nat] at h
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 + 14)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (w + 13) = a + w + 26 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 + w + 29)) (Zs K x (a + w + 31))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + w + 30))))) := A1.Dn K O x hD (a + 16) (w + 13) (a + 16) (a + 17) (a + 18) (a + w + 29) (a + w + 30) (a + w + 31) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
include hx hT hD h1 h10 in
theorem sg19 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv3 K (fun i => x (i + 1)))) (fun i => x (i + 6)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (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.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
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 (Zs K x (11))) (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 (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
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 (Zs K x (12))) (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 (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (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 (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (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 (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (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 (7))))))
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 (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 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.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t7 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (Zs K x (16))) (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 (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (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 (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (6)) (hx (14))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (Zs K x (19))) (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))) (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 (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.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (6)) (hx (15))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 20))) (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))) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 10))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 12))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 14))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (K.add (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 (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.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.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 _ _ 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 (5)) (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (3)) (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 (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 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 (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.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.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (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 (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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.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 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.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 t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (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 (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 (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 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.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 t3 : 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 t4 : 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 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.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 t7 : 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 _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (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 (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 (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.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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (12))))) := A1.Dn K O x hD (0) (11) (0) (1) (2) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 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.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 t7 : 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 _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (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 (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 (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 (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.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 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 (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 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.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.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 _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (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 (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 (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.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.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 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.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 t5 : 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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (2)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (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 (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 (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 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.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 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 (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 t5 : 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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (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 (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (17))))) := A1.Dn K O x hD (1) (15) (1) (2) (3) (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.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 t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (2)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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 (17)) (Zs K x (19))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (18))))) := A1.Dn K O x hD (1) (16) (1) (2) (3) (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.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 t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (2)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (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))) (Zs K x (8))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (19) (20) (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 (18)) (Zs K x (20))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (19))))) := A1.Dn K O x hD (1) (17) (1) (2) (3) (18) (19) (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 (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (2)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (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 (19)) (Zs K x (21))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (20))))) := A1.Dn K O x hD (1) (18) (1) (2) (3) (19) (20) (21) (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 (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (2)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 + 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 + 21))) (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))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (2)
try rw [show (4) + (2) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 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 (8)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 11))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 13))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (4)) (Zs K x (6))) (Zs K x (11))) (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 (9))))))
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 (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.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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (4)) (Zs K x (6))) (Zs K x (12))) (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 (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (7)
try rw [show (0) + (7) + 1 + (2) = 10 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.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.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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))) (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 (9))))))
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 (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 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.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 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 (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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (4)) (Zs K x (6))) (Zs K x (14))) (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 (9))))))
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 (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (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.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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (4)) (Zs K x (6))) (Zs K x (15))) (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 (9))))))
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.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 (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.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 t4 : 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 t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ 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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (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 (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (0)) (hx (14))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (4)) (Zs K x (6))) (Zs K x (17))) (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 (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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 (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.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 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 (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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (0)) (hx (15))
have t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (4)) (Zs K x (6))) (Zs K x (18))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (8)
try rw [show (3) + (8) + 1 + (5) = 17 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (4)) (Zs K x (6))) (Zs K x (19))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (17)
try rw [show (0) + (17) + 1 + (1) = 19 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (0)) (hx (19))
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (4)) (Zs K x (6))) (Zs K x (20))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (18)
try rw [show (0) + (18) + 1 + (1) = 20 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (0)) (hx (20))
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (4)) (Zs K x (6))) (Zs K x (21))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (19)
try rw [show (0) + (19) + 1 + (1) = 21 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (11)
try rw [show (3) + (11) + 1 + (5) = 20 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (22))) := O.mul_nonneg _ _ (hx (0)) (hx (21))
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 22))) (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))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (4)
try rw [show (3) + (4) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (2)
try rw [show (5) + (2) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 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 (9)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 12))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (11))) (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 (10))))))
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
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.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 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.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (12))) (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 (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (1)
try rw [show (4) + (1) + 1 + (5) = 11 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (13))) (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 (10))))))
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
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (14))) (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 (10))))))
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 (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (3)
try rw [show (4) + (3) + 1 + (5) = 13 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.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))) (Zs K x (15))) (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 (10))))))
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 (10)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (7)
try rw [show (1) + (7) + 1 + (4) = 13 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 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 (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (4)
try rw [show (4) + (4) + 1 + (5) = 14 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.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))) (Zs K x (16))) (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 (10))))))
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 (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (4)
try rw [show (4) + (4) + 1 + (6) = 15 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (0)) (hx (15))
exact A1.nn_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))) (Zs K x (17))) (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 (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (7)
try rw [show (1) + (7) + 1 + (6) = 15 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 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 (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (4)
try rw [show (4) + (4) + 1 + (7) = 16 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
exact A1.nn_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))) (Zs K x (18))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (7)
try rw [show (4) + (7) + 1 + (5) = 17 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (3)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (19))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (8)
try rw [show (4) + (8) + 1 + (5) = 18 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (2)) (hx (16))
exact A1.nn_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))) (Zs K x (20))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (9)
try rw [show (4) + (9) + 1 + (5) = 19 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (2)) (hx (17))
exact A1.nn_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))) (Zs K x (21))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (2)) (hx (18))
exact A1.nn_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))) (Zs K x (22))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (11)
try rw [show (4) + (11) + 1 + (5) = 21 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (11)
try rw [show (6) + (11) + 1 + (3) = 21 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (2)) (hx (19))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (w + 23))) (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))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (6)
try rw [show (2) + (6) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (4)
try rw [show (4) + (4) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (2)
try rw [show (6) + (2) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (12))) (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 (11))))))
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
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.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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))))) := A1.Dn K O x hD (6) (5) (6) (7) (8) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (13))) (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 (11))))))
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
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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (1)
try rw [show (5) + (1) + 1 + (5) = 12 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (14))) (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 (11))))))
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 (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (2)
try rw [show (7) + (2) + 1 + (3) = 13 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (15))) (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 (11))))))
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 (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (8)
try rw [show (1) + (8) + 1 + (4) = 14 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (3)
try rw [show (5) + (3) + 1 + (5) = 14 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (2)
try rw [show (7) + (2) + 1 + (4) = 14 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (16))) (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 (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (4)
try rw [show (5) + (4) + 1 + (5) = 15 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (17))) (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 (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (8)
try rw [show (1) + (8) + 1 + (6) = 16 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (4)
try rw [show (5) + (4) + 1 + (6) = 16 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (2)
try rw [show (7) + (2) + 1 + (6) = 16 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (18))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (2)
try rw [show (7) + (2) + 1 + (7) = 17 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (19))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (19))))) := A1.Dn K O x hD (2) (16) (2) (3) (4) (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (15)
try rw [show (2) + (15) + 1 + (1) = 19 by lib_nat] at h
try rw [show (2) + (15) + 1 = 18 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (7)
try rw [show (3) + (7) + 1 + (7) = 18 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (7)
try rw [show (7) + (7) + 1 + (3) = 18 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (20))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (20))))) := A1.Dn K O x hD (2) (17) (2) (3) (4) (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.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 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 (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 t5 : 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 t6 : 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 _ _ 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))) (Zs K x (21))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (21))))) := A1.Dn K O x hD (2) (18) (2) (3) (4) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : 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 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 (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 _ _ 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))) (Zs K x (22))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (22))))) := A1.Dn K O x hD (2) (19) (2) (3) (4) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (10)
try rw [show (7) + (10) + 1 + (3) = 21 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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
have t6 : 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 _ _ 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))) (Zs K x (23))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (23))))) := A1.Dn K O x hD (2) (20) (2) (3) (4) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (11)
try rw [show (5) + (11) + 1 + (5) = 22 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (11)
try rw [show (7) + (11) + 1 + (3) = 22 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (1)
try rw [show (9) + (1) + 1 + (5) = 16 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : 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 _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (w + 24))) (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))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 13) (1) (8)
try rw [show (1) + (8) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (w + 13) = 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 + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (6)
try rw [show (3) + (6) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 13) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (4)
try rw [show (5) + (4) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (2)
try rw [show (7) + (2) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (13))) (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 (12))))))
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
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.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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))))) := A1.Dn K O x hD (7) (5) (7) (8) (9) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (14))) (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 (12))))))
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
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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (1)
try rw [show (6) + (1) + 1 + (5) = 13 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (15))) (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 (12))))))
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 (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (2)
try rw [show (6) + (2) + 1 + (5) = 14 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (2)
try rw [show (8) + (2) + 1 + (3) = 14 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (16))) (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 (12))))))
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 (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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (3)
try rw [show (6) + (3) + 1 + (5) = 15 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (2)
try rw [show (8) + (2) + 1 + (4) = 15 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (17))) (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 (12))))))
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 (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (8)
try rw [show (2) + (8) + 1 + (5) = 16 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (4)
try rw [show (6) + (4) + 1 + (5) = 16 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (2)
try rw [show (8) + (2) + 1 + (5) = 16 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (18))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (8)
try rw [show (2) + (8) + 1 + (6) = 17 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (4)
try rw [show (6) + (4) + 1 + (6) = 17 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (2)
try rw [show (8) + (2) + 1 + (6) = 17 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (19))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (4)
try rw [show (6) + (4) + 1 + (7) = 18 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (2)
try rw [show (8) + (2) + 1 + (7) = 18 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (20))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (15)
try rw [show (3) + (15) + 1 + (1) = 20 by lib_nat] at h
try rw [show (3) + (15) + 1 = 19 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (7)
try rw [show (8) + (7) + 1 + (3) = 19 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (21))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (21))))) := A1.Dn K O x hD (3) (17) (3) (4) (5) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (1)
try rw [show (10) + (1) + 1 + (2) = 14 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : 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 _ _ 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))) (Zs K x (22))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (22))))) := A1.Dn K O x hD (3) (18) (3) (4) (5) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : 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 _ _ 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))) (Zs K x (23))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (23))))) := A1.Dn K O x hD (3) (19) (3) (4) (5) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (10)
try rw [show (6) + (10) + 1 + (5) = 22 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (10)
try rw [show (8) + (10) + 1 + (3) = 22 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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
have t6 : 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 _ _ 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))) (Zs K x (24))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (24))))) := A1.Dn K O x hD (3) (20) (3) (4) (5) (23) (24) (25) (by 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 (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (11)
try rw [show (6) + (11) + 1 + (5) = 23 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (11)
try rw [show (8) + (11) + 1 + (3) = 23 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (1)
try rw [show (10) + (1) + 1 + (5) = 17 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : 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 _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (w + 25))) (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))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (8)
try rw [show (2) + (8) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (6)
try rw [show (4) + (6) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (4)
try rw [show (6) + (4) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (2)
try rw [show (8) + (2) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (14))) (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 (13))))))
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
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.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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))))) := A1.Dn K O x hD (8) (5) (8) (9) (10) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (15))) (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 (13))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (16))) (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 (13))))))
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 (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (2)
try rw [show (9) + (2) + 1 + (3) = 15 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (17))) (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 (13))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (3)
try rw [show (7) + (3) + 1 + (5) = 16 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (18))) (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))) (Zs K x (13))))))
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 (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 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (4)
try rw [show (7) + (4) + 1 + (5) = 17 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (19))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (8)
try rw [show (3) + (8) + 1 + (6) = 18 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (5)
try rw [show (5) + (5) + 1 + (7) = 18 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (4)
try rw [show (7) + (4) + 1 + (6) = 18 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (2)
try rw [show (9) + (2) + 1 + (6) = 18 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (20))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (2)
try rw [show (9) + (2) + 1 + (7) = 19 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (21))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (15)
try rw [show (4) + (15) + 1 + (1) = 21 by lib_nat] at h
try rw [show (4) + (15) + 1 = 20 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (7)
try rw [show (9) + (7) + 1 + (3) = 20 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (22))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (22))))) := A1.Dn K O x hD (4) (17) (4) (5) (6) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (8)
try rw [show (9) + (8) + 1 + (3) = 21 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (23))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (23))))) := A1.Dn K O x hD (4) (18) (4) (5) (6) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (9)
try rw [show (9) + (9) + 1 + (3) = 22 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (24))) (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))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (24))))) := A1.Dn K O x hD (4) (19) (4) (5) (6) (23) (24) (25) (by 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 (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (10)
try rw [show (7) + (10) + 1 + (5) = 23 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (10)
try rw [show (9) + (10) + 1 + (3) = 23 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (25))))) := A1.Dn K O x hD (4) (20) (4) (5) (6) (24) (25) (26) (by 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 (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (11)
try rw [show (7) + (11) + 1 + (5) = 24 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (11)
try rw [show (9) + (11) + 1 + (3) = 24 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (1)
try rw [show (11) + (1) + 1 + (5) = 18 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = 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 (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (w + 26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (8)
try rw [show (3) + (8) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (6)
try rw [show (5) + (6) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (4)
try rw [show (7) + (4) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (2)
try rw [show (9) + (2) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ 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))) (Zs K x (15))) (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 (14))))))
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
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.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
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))))) := A1.Dn K O x hD (9) (5) (9) (10) (11) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (16))) (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 (14))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (1)
try rw [show (8) + (1) + 1 + (5) = 15 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (17))) (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 (14))))))
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 (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (2)
try rw [show (6) + (2) + 1 + (7) = 16 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (2)
try rw [show (10) + (2) + 1 + (3) = 16 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (18))) (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))) (Zs K x (14))))))
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 (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 t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (19))) (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))) (Zs K x (14))))))
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 (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 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 (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 t2 : 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 (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (4)
try rw [show (8) + (4) + 1 + (5) = 18 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (20))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (8)
try rw [show (4) + (8) + 1 + (6) = 19 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (5)
try rw [show (6) + (5) + 1 + (7) = 19 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (4)
try rw [show (8) + (4) + 1 + (6) = 19 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (2)
try rw [show (10) + (2) + 1 + (6) = 19 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (21))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (2)
try rw [show (10) + (2) + 1 + (7) = 20 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (22))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (15)
try rw [show (5) + (15) + 1 + (1) = 22 by lib_nat] at h
try rw [show (5) + (15) + 1 = 21 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (7)
try rw [show (8) + (7) + 1 + (5) = 21 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (7)
try rw [show (10) + (7) + 1 + (3) = 21 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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))) (Zs K x (23))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (23))))) := A1.Dn K O x hD (5) (17) (5) (6) (7) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (8)
try rw [show (8) + (8) + 1 + (5) = 22 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (8)
try rw [show (10) + (8) + 1 + (3) = 22 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (24))) (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))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (24))))) := A1.Dn K O x hD (5) (18) (5) (6) (7) (23) (24) (25) (by 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 (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (9)
try rw [show (8) + (9) + 1 + (5) = 23 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (9)
try rw [show (10) + (9) + 1 + (3) = 23 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (25))))) := A1.Dn K O x hD (5) (19) (5) (6) (7) (24) (25) (26) (by 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 (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (10)
try rw [show (8) + (10) + 1 + (5) = 24 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (10)
try rw [show (10) + (10) + 1 + (3) = 24 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (1)
try rw [show (12) + (1) + 1 + (4) = 18 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (26))))) := A1.Dn K O x hD (5) (20) (5) (6) (7) (25) (26) (27) (by 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 (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (11)
try rw [show (8) + (11) + 1 + (5) = 25 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (11)
try rw [show (10) + (11) + 1 + (3) = 25 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (1)
try rw [show (12) + (1) + 1 + (5) = 19 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (w + 27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (8)
try rw [show (4) + (8) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (7)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (6)
try rw [show (6) + (6) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (4)
try rw [show (8) + (4) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (2)
try rw [show (10) + (2) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| 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 (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (16))) (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 (15))))))
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
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.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
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (16))))) := A1.Dn K O x hD (10) (5) (10) (11) (12) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (17))) (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 (15))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (1)
try rw [show (9) + (1) + 1 + (5) = 16 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (18))) (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))) (Zs K x (15))))))
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 (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (2)
try rw [show (7) + (2) + 1 + (7) = 17 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (2)
try rw [show (11) + (2) + 1 + (3) = 17 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (19))) (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))) (Zs K x (15))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (20))) (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))) (Zs K x (15))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (4)
try rw [show (9) + (4) + 1 + (5) = 19 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (21))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (8)
try rw [show (5) + (8) + 1 + (6) = 20 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (5)
try rw [show (7) + (5) + 1 + (7) = 20 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (4)
try rw [show (9) + (4) + 1 + (6) = 20 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (2)
try rw [show (11) + (2) + 1 + (6) = 20 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (22))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (4)
try rw [show (9) + (4) + 1 + (7) = 21 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (2)
try rw [show (11) + (2) + 1 + (7) = 21 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (23))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (23))))) := A1.Dn K O x hD (6) (16) (6) (7) (8) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (15)
try rw [show (6) + (15) + 1 + (1) = 23 by lib_nat] at h
try rw [show (6) + (15) + 1 = 22 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (7)
try rw [show (9) + (7) + 1 + (5) = 22 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (7)
try rw [show (11) + (7) + 1 + (3) = 22 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (24))) (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))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (24))))) := A1.Dn K O x hD (6) (17) (6) (7) (8) (23) (24) (25) (by 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 (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (8)
try rw [show (9) + (8) + 1 + (5) = 23 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (8)
try rw [show (11) + (8) + 1 + (3) = 23 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (1)
try rw [show (13) + (1) + 1 + (2) = 17 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (16))))) := A1.Dn K O x hD (14) (1) (14) (15) (16) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (25))))) := A1.Dn K O x hD (6) (18) (6) (7) (8) (24) (25) (26) (by 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 (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (9)
try rw [show (9) + (9) + 1 + (5) = 24 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (9)
try rw [show (11) + (9) + 1 + (3) = 24 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (1)
try rw [show (13) + (1) + 1 + (3) = 18 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (12)
try rw [show (6) + (12) + 1 + (7) = 26 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (26))))) := A1.Dn K O x hD (6) (19) (6) (7) (8) (25) (26) (27) (by 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 (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (10)
try rw [show (9) + (10) + 1 + (5) = 25 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (10)
try rw [show (11) + (10) + 1 + (3) = 25 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (1)
try rw [show (13) + (1) + 1 + (4) = 19 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (13)
try rw [show (6) + (13) + 1 + (7) = 27 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (27))))) := A1.Dn K O x hD (6) (20) (6) (7) (8) (26) (27) (28) (by 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 (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (11)
try rw [show (9) + (11) + 1 + (5) = 26 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (11)
try rw [show (11) + (11) + 1 + (3) = 26 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (1)
try rw [show (13) + (1) + 1 + (5) = 20 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (19))))) := A1.Dn K O x hD (14) (4) (14) (15) (16) (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 _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (w + 28))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (8)
try rw [show (5) + (8) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (w + 13) = 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 (8)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (6)
try rw [show (7) + (6) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (4)
try rw [show (9) + (4) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (2)
try rw [show (11) + (2) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (17))) (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 (16))))))
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
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))))) := A1.Dn K O x hD (7) (9) (7) (8) (9) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (18))) (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))) (Zs K x (16))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (1)
try rw [show (10) + (1) + 1 + (5) = 17 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (19))) (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))) (Zs K x (16))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (2)
try rw [show (12) + (2) + 1 + (3) = 18 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (20))) (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))) (Zs K x (16))))))
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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (3)
try rw [show (10) + (3) + 1 + (5) = 19 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (2)
try rw [show (12) + (2) + 1 + (4) = 19 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (21))) (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))) (Zs K x (16))))))
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 (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 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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (4)
try rw [show (10) + (4) + 1 + (5) = 20 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (22))) (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))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (8)
try rw [show (6) + (8) + 1 + (6) = 21 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 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 (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (5)
try rw [show (8) + (5) + 1 + (7) = 21 by lib_nat] at h
try rw [show (8) + (5) + 1 = 14 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 t2 : 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 (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (4)
try rw [show (10) + (4) + 1 + (6) = 21 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (2)
try rw [show (12) + (2) + 1 + (6) = 21 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (23))) (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))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (4)
try rw [show (10) + (4) + 1 + (7) = 22 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (2)
try rw [show (12) + (2) + 1 + (7) = 22 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (24))) (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))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))))) := A1.Dn K O x hD (7) (16) (7) (8) (9) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (15)
try rw [show (7) + (15) + 1 + (1) = 24 by lib_nat] at h
try rw [show (7) + (15) + 1 = 23 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (7)
try rw [show (10) + (7) + 1 + (5) = 23 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (7)
try rw [show (12) + (7) + 1 + (3) = 23 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (25))))) := A1.Dn K O x hD (7) (17) (7) (8) (9) (24) (25) (26) (by 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 (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (8)
try rw [show (10) + (8) + 1 + (5) = 24 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (8)
try rw [show (12) + (8) + 1 + (3) = 24 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (1)
try rw [show (14) + (1) + 1 + (2) = 18 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (17))))) := A1.Dn K O x hD (15) (1) (15) (16) (17) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (26))))) := A1.Dn K O x hD (7) (18) (7) (8) (9) (25) (26) (27) (by 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 (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (9)
try rw [show (10) + (9) + 1 + (5) = 25 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (9)
try rw [show (12) + (9) + 1 + (3) = 25 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (1)
try rw [show (14) + (1) + 1 + (3) = 19 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (3) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (12)
try rw [show (7) + (12) + 1 + (7) = 27 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (27))))) := A1.Dn K O x hD (7) (19) (7) (8) (9) (26) (27) (28) (by 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 (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (10)
try rw [show (10) + (10) + 1 + (5) = 26 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (10)
try rw [show (12) + (10) + 1 + (3) = 26 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (1)
try rw [show (14) + (1) + 1 + (4) = 20 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (4) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (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 _ _ 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 (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (13)
try rw [show (7) + (13) + 1 + (7) = 28 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (28))))) := A1.Dn K O x hD (7) (20) (7) (8) (9) (27) (28) (29) (by 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 (11)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (11)
try rw [show (10) + (11) + 1 + (5) = 27 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (11)
try rw [show (12) + (11) + 1 + (3) = 27 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (1)
try rw [show (14) + (1) + 1 + (5) = 21 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (5) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (20))))) := A1.Dn K O x hD (15) (4) (15) (16) (17) (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 _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (w + 29))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (8)
try rw [show (6) + (8) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (w + 13) = 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 (9)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (6)
try rw [show (8) + (6) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (4)
try rw [show (10) + (4) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (2)
try rw [show (12) + (2) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (18))) (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))) (Zs K x (17))))))
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
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))))) := A1.Dn K O x hD (8) (9) (8) (9) (10) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (1)
try rw [show (12) + (1) + 1 + (4) = 18 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (18))))) := A1.Dn K O x hD (12) (5) (12) (13) (14) (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 _ _ 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (19))) (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))) (Zs K x (17))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (1)
try rw [show (11) + (1) + 1 + (5) = 18 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (1)
try rw [show (13) + (1) + 1 + (3) = 18 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (20))) (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))) (Zs K x (17))))))
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 (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (2)
try rw [show (9) + (2) + 1 + (7) = 19 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (2)
try rw [show (13) + (2) + 1 + (3) = 19 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (21))) (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))) (Zs K x (17))))))
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 (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (3)
try rw [show (9) + (3) + 1 + (7) = 20 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (3)
try rw [show (11) + (3) + 1 + (5) = 20 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (2)
try rw [show (13) + (2) + 1 + (4) = 20 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (22))) (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))) (Zs K x (17))))))
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 (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 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 (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (4)
try rw [show (9) + (4) + 1 + (7) = 21 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (4)
try rw [show (11) + (4) + 1 + (5) = 21 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (2)
try rw [show (13) + (2) + 1 + (5) = 21 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (23))) (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))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (8)
try rw [show (7) + (8) + 1 + (6) = 22 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 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 (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (5)
try rw [show (9) + (5) + 1 + (7) = 22 by lib_nat] at h
try rw [show (9) + (5) + 1 = 15 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (4)
try rw [show (11) + (4) + 1 + (6) = 22 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (2)
try rw [show (13) + (2) + 1 + (6) = 22 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (24))) (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))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (6)
try rw [show (9) + (6) + 1 + (7) = 23 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (4)
try rw [show (11) + (4) + 1 + (7) = 23 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (2)
try rw [show (13) + (2) + 1 + (7) = 23 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (25))))) := A1.Dn K O x hD (8) (16) (8) (9) (10) (24) (25) (26) (by 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 (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (15)
try rw [show (8) + (15) + 1 + (1) = 25 by lib_nat] at h
try rw [show (8) + (15) + 1 = 24 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (7)
try rw [show (11) + (7) + 1 + (5) = 24 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (7)
try rw [show (13) + (7) + 1 + (3) = 24 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (10)
try rw [show (8) + (10) + 1 + (7) = 26 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (26))))) := A1.Dn K O x hD (8) (17) (8) (9) (10) (25) (26) (27) (by 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 (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (8)
try rw [show (11) + (8) + 1 + (5) = 25 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (8)
try rw [show (13) + (8) + 1 + (3) = 25 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (2) (15) (1)
try rw [show (15) + (1) + 1 + (2) = 19 by lib_nat] at h
try rw [show (15) + (1) + 1 = 17 by lib_nat] at h
try rw [show (15) + (2) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (18))))) := A1.Dn K O x hD (16) (1) (16) (17) (18) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (11)
try rw [show (8) + (11) + 1 + (7) = 27 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (27))))) := A1.Dn K O x hD (8) (18) (8) (9) (10) (26) (27) (28) (by 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 (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (9)
try rw [show (11) + (9) + 1 + (5) = 26 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (9)
try rw [show (13) + (9) + 1 + (3) = 26 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (1)
try rw [show (15) + (1) + 1 + (3) = 20 by lib_nat] at h
try rw [show (15) + (1) + 1 = 17 by lib_nat] at h
try rw [show (15) + (3) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (19))))) := A1.Dn K O x hD (16) (2) (16) (17) (18) (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 _ _ 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 (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (10)
try rw [show (8) + (10) + 1 + (7) = 26 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (12)
try rw [show (8) + (12) + 1 + (7) = 28 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (28))))) := A1.Dn K O x hD (8) (19) (8) (9) (10) (27) (28) (29) (by 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 (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (10)
try rw [show (11) + (10) + 1 + (5) = 27 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (10)
try rw [show (13) + (10) + 1 + (3) = 27 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (1)
try rw [show (15) + (1) + 1 + (4) = 21 by lib_nat] at h
try rw [show (15) + (1) + 1 = 17 by lib_nat] at h
try rw [show (15) + (4) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))))) := A1.Dn K O x hD (16) (3) (16) (17) (18) (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 _ _ 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 (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (11)
try rw [show (8) + (11) + 1 + (7) = 27 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (13)
try rw [show (8) + (13) + 1 + (7) = 29 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (28)) (Zs K x (30))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (29))))) := A1.Dn K O x hD (8) (20) (8) (9) (10) (28) (29) (30) (by 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 (12)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (11)
try rw [show (11) + (11) + 1 + (5) = 28 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (11)
try rw [show (13) + (11) + 1 + (3) = 28 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (1)
try rw [show (15) + (1) + 1 + (5) = 22 by lib_nat] at h
try rw [show (15) + (1) + 1 = 17 by lib_nat] at h
try rw [show (15) + (5) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (21))))) := A1.Dn K O x hD (16) (4) (16) (17) (18) (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 _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (w + 30))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (8)
try rw [show (7) + (8) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (w + 13) = 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 (10)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (6)
try rw [show (9) + (6) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (4)
try rw [show (11) + (4) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (13) (2)
try rw [show (13) + (2) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (w + 13) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 19))) (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))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (9) = a + 18 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 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
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 + 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (3) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (3) = a + 18 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (3) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 20))) (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))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (1)
try rw [show (a + 8) + (1) + 1 + (9) = a + 19 by lib_nat] at h
try rw [show (a + 8) + (1) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (1)
try rw [show (a + 12) + (1) + 1 + (5) = a + 19 by lib_nat] at h
try rw [show (a + 12) + (1) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (3) (a + 14) (1)
try rw [show (a + 14) + (1) + 1 + (3) = a + 19 by lib_nat] at h
try rw [show (a + 14) + (1) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 14) + (3) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 21))) (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))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (9) = a + 20 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (3) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (3) = a + 20 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (3) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 22))) (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))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (3)
try rw [show (a + 8) + (3) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 8) + (3) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (3)
try rw [show (a + 10) + (3) + 1 + (7) = a + 21 by lib_nat] at h
try rw [show (a + 10) + (3) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (3)
try rw [show (a + 12) + (3) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 12) + (3) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (4) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (4) = a + 21 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (4) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 23))) (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))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (5) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 24))) (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))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (5)
try rw [show (a + 8) + (5) + 1 + (9) = a + 23 by lib_nat] at h
try rw [show (a + 8) + (5) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (5)
try rw [show (a + 10) + (5) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 10) + (5) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (6) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (6) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (6) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (6) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 25))) (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))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (7) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (7) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (7) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 26))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (7)
try rw [show (a + 8) + (7) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 8) + (7) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (8) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (8) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (8) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (8) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (8) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (8) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 27))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (9) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (9) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (9) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (9) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (9) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 28))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (10) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (10) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (10) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (10) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (10) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (10) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (10) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (10) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 29))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (11) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (11) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (11) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (11) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (11) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (11) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (11) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (11) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 30))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (12) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (12) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (12) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (12) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (12) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (12) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (12) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (12) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + w + 31))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + w + 22)) (Zs K x (a + w + 24))) (Zs K x (a + w + 26))) (Zs K x (a + w + 28))) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 8) (8)
try rw [show (a + 8) + (8) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 8) + (8) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 8) + (w + 13) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 10) (6)
try rw [show (a + 10) + (6) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 10) + (6) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 10) + (w + 13) = a + w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (w + 13) = a + w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 28)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (w + 13) = a + w + 30 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (w + 13) = a + w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K 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)
include hx hT hD h1 h10 in
theorem sg20 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv5 K x)) (pv5 K x) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (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 (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t7 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (6))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))))) := A1.Dn K O x hD (5) (4) (5) (6) (7) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (6))))))
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.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (5)) (hx (13))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (5)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (6))))))
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.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (5)) (hx (15))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (6))))))
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.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (5)) (hx (16))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 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.zero (K.add (K.add (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 (w + 17))) (Zs K x (w + 19)))) (K.neg (K.mul (K.add (K.add (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 (w + 16))) (Zs K x (w + 18))) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 8))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 7))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 9))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 11))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 13))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 15))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 18))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (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))) (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (0)
try rw [show (5) + (0) + 1 + (1) = 7 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (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 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 (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.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 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.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (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 (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 (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 (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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.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 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 (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.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 (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 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.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 (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (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 (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (1)
try rw [show (0) + (1) + 1 + (5) = 7 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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 t5 : 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 t6 : 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 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 (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 t9 : 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 t10 : 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 t11 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t12 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (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 (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 (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (3)
try rw [show (0) + (3) + 1 + (6) = 10 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 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 (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 (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 (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (8)
try rw [show (0) + (8) + 1 + (3) = 12 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 t6 : 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 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 (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 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.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 t11 : 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 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 (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t14 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t15 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) t15) (by -- (+9 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
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.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t4 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t6 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t7 : 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 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (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 (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (2)
try rw [show (0) + (2) + 1 + (5) = 8 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (3)
try rw [show (0) + (3) + 1 + (6) = 10 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (9)
try rw [show (0) + (9) + 1 + (2) = 12 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 t6 : 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 t7 : 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 (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (9)
try rw [show (1) + (9) + 1 + (4) = 15 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t21 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (3)) (hx (13))
have t22 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+181 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (1)
try rw [show (5) + (1) + 1 + (7) = 14 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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)
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (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 (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 (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (3)
try rw [show (0) + (3) + 1 + (6) = 10 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 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 (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 t6 : 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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (13)
try rw [show (1) + (13) + 1 + (2) = 17 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : 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 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.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 t11 : 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 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.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 t14 : 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 t15 : 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 t16 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t17 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
have t18 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t19 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_a -- (+113 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (K.add (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 (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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (10)
try rw [show (0) + (10) + 1 + (2) = 13 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (10)
try rw [show (0) + (10) + 1 + (6) = 17 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 t6 : 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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (15)
try rw [show (0) + (15) + 1 + (3) = 19 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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 (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 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 (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.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 t14 : 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 t15 : 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 t16 : 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 t17 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
have t18 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
have t19 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+115 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (3)) (hx (15))
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.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (11) (5) (0)
try rw [show (5) + (0) + 1 + (11) = 17 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (11) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (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 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 (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.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
have t11 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (7)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.add (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 (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 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 (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (14)
try rw [show (1) + (14) + 1 + (2) = 18 by lib_nat] at h
try rw [show (1) + (14) + 1 = 16 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (18))))) := A1.Dn K O x hD (1) (16) (1) (2) (3) (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 (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 (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 (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 (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 (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (8)
try rw [show (5) + (8) + 1 + (2) = 16 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t12 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t13 : 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 t14 : 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 t15 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t16 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (2)) (hx (17))
have t17 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t18 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (5)) (hx (16))
have t19 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.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 -- (+119 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 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)) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 10)) (Zs K x (w + 12))) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20)))) (K.neg (K.mul (K.add (K.add (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 (w + 17))) (Zs K x (w + 19))) (K.add (Z -- (+28 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 9))
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))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 13))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 18))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 17))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 18))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 17))
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 9)) (Zs K x (w + 11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 10))))) := A1.Dn K O x hD (4) (w + 5) (4) (5) (6) (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 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 + 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 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 + 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 t10 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 9))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 8))
have t11 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 14))
have t12 : 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 (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (0)
try rw [show (5) + (0) + 1 + (w + 13) = w + 19 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t13 : 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 (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (0)
try rw [show (5) + (0) + 1 + (w + 13) = w + 19 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 8) (5) (1)
try rw [show (5) + (1) + 1 + (w + 8) = w + 15 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (w + 8) = w + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t15 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 12))) (K.neg (K.mul (Zs K x (w + 10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (w + 3)
try rw [show (5) + (w + 3) + 1 + (2) = w + 11 by lib_nat] at h
try rw [show (5) + (w + 3) + 1 = w + 9 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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 9)) (Zs K x (w + 11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 10))))) := A1.Dn K O x hD (6) (w + 3) (6) (7) (8) (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 t17 : 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 t18 : 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 t19 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 9))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 8))
have t20 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 10))
have t21 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 12))
have t22 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
have t23 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 15))
exact nn_scale K O h1 h10 2 (Nat.le_of_ble_eq_true rfl) _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+249 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 (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 (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)))))))
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)
have t3 : 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 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.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (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 (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 (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 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 (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 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 (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.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 (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.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (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 (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (3)
try rw [show (0) + (3) + 1 + (6) = 10 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 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 (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (9)
try rw [show (0) + (9) + 1 + (2) = 12 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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.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.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 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 (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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t15 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) t15) (by li -- (+7 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 (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (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.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.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (8)
try rw [show (0) + (8) + 1 + (2) = 11 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.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 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.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 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 (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.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t11 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t12 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) -- (+3 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 (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (7)
try rw [show (0) + (7) + 1 + (4) = 12 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (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.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (12))))) := A1.Dn K O x hD (0) (11) (0) (1) (2) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 (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 (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)
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.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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t18 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t19 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t20 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+131 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 (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8) -- (+6 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 (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (1)
try rw [show (0) + (1) + 1 + (5) = 7 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (10)
try rw [show (0) + (10) + 1 + (2) = 13 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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.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 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 (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 t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t17 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t18 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t19 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+109 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 (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x -- (+9 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (1)
try rw [show (0) + (1) + 1 + (6) = 8 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (3)
try rw [show (0) + (3) + 1 + (6) = 10 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (9)
try rw [show (0) + (9) + 1 + (2) = 12 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (13)
try rw [show (0) + (13) + 1 + (2) = 16 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 (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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (0)
try rw [show (6) + (0) + 1 + (1) = 8 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : 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 t19 : 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 t20 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (0)) (hx (16))
have t21 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t22 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t23 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+207 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 (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K -- (+12 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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.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 t4 : 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 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 (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 t7 : 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 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 (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 t10 : 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 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 (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.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 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.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t16 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
have t17 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t18 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t -- (+89 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 (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Z -- (+15 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (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 (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 (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 (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 (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 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 (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.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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 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)
have t14 : 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 t15 : 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 t16 : 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 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.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
have t19 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t20 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (2)) (hx (14))
have t21 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t22 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (4)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+187 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 (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) -- (+18 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (10)
try rw [show (0) + (10) + 1 + (2) = 13 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (12)
try rw [show (0) + (12) + 1 + (6) = 19 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (14)
try rw [show (0) + (14) + 1 + (2) = 17 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (18) (19) (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 (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 (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 (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 (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 (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.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 t12 : 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 t13 : 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 t14 : 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 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 (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.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t19 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
have t20 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t21 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1. -- (+165 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 (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.add (K.add (Zs K x (4)) (Zs K x (6 -- (+21 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (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 (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (13)
try rw [show (0) + (13) + 1 + (2) = 16 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (17)
try rw [show (0) + (17) + 1 + (2) = 20 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : 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 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 (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 (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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t13 : 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 t14 : 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 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 (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 t17 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
have t18 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (0)) (hx (20))
have t19 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t20 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t21 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (9)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.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 -- (+167 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 (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (K.add (K.add (Zs K x (4)) (Zs K x -- (+24 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (12)
try rw [show (0) + (12) + 1 + (6) = 19 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (14)
try rw [show (0) + (14) + 1 + (2) = 17 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (18)
try rw [show (0) + (18) + 1 + (2) = 21 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.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 (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 (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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (11)
try rw [show (3) + (11) + 1 + (5) = 20 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : 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 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 (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 (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 t14 : 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 t15 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t16 : 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 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 (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 (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 t20 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (0)) (hx (19))
have t21 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (22))) := O.mul_nonneg _ _ (hx (0)) (hx (21))
have t22 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t23 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
have t24 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ -- (+241 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 10)) (Zs K x (w + 12))) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs -- (+73 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 9))
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))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 13))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 15))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 18))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 17))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 20))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 19))
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 10)))))) := by
have h := A2.mk K O x hT (w + 5) (4) (2)
try rw [show (4) + (2) + 1 + (w + 5) = w + 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 5) = w + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 9) (4) (2)
try rw [show (4) + (2) + 1 + (w + 9) = w + 16 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 9) = w + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (2)
try rw [show (4) + (2) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 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 (w + 10)) (Zs K x (w + 12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 11))))) := A1.Dn K O x hD (5) (w + 5) (5) (6) (7) (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 t10 : 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 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 12)))))) := by
have h := A2.mk K O x hT (w + 5) (6) (0)
try rw [show (6) + (0) + 1 + (w + 5) = w + 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 5) = w + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t13 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 9) (6) (0)
try rw [show (6) + (0) + 1 + (w + 9) = w + 16 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 9) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : 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 (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (0)
try rw [show (6) + (0) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 13) = 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 _ _ (A1.nn_add K 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) (by lib_ring -- (+1 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.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.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 (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.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 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 (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 (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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (0)
try rw [show (7) + (0) + 1 + (1) = 9 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) -- (+18 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 (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.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 (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 (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (1)
try rw [show (2) + (1) + 1 + (7) = 11 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.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.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)
have t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t8 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (Zs K x (3)) (Zs -- (+42 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (4))))) := A1.Dn K O x hD (0) (3) (0) (1) (2) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (8))))) := A1.Dn K O x hD (0) (7) (0) (1) (2) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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)
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)
have t6 : 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 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.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 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 (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)
have t12 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t13 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t14 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t15 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t16 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) -- (+33 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (Zs K x (3)) -- (+45 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (8)
try rw [show (0) + (8) + 1 + (4) = 13 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 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 (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.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 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 (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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (1)
try rw [show (7) + (1) + 1 + (3) = 12 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (11))))) := A1.Dn K O x hD (8) (2) (8) (9) (10) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
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 (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t12 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t13 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (Zs K x (3 -- (+48 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (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 (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 (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 (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 (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 (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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (5)
try rw [show (2) + (5) + 1 + (6) = 14 by lib_nat] at h
try rw [show (2) + (5) + 1 = 8 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
have t23 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t24 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
have t25 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+253 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (Zs K x -- (+51 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 (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 (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (1)
try rw [show (0) + (1) + 1 + (5) = 7 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t3 : 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 t4 : 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 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 (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.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 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 (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 (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.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 t13 : 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 t14 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t15 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t16 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t17 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7 -- (+63 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (Zs -- (+54 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (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.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 (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 (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 (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 t6 : 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 t7 : 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 t8 : 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 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.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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 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.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t19 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t20 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t21 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
have t22 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (3)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_a -- (+185 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (K.add (K.add (K.add ( -- (+57 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (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.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 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 (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 (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.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 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 (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 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)
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 (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 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 (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 t16 : 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 t17 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (0)) (hx (11))
have t18 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t19 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t20 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
have t21 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.add (K.add (K.ad -- (+60 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (10)
try rw [show (0) + (10) + 1 + (1) = 12 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.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.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 (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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 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 (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.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 t10 : 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 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.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 t14 : 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 t15 : 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 t16 : 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 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.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t19 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t20 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (2)) (hx (14))
have t21 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
have t22 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1. -- (+189 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.add (K.add (K -- (+63 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
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.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (2)) (hx (17))
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (9) (3) (5)
try rw [show (3) + (5) + 1 + (9) = 18 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 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 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 (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 t10 : 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 (7)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (12) (5) (0)
try rw [show (5) + (0) + 1 + (12) = 18 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (12) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t14 : 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 (9)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (8) (7) (0)
try rw [show (7) + (0) + 1 + (8) = 16 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (8) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t15 : 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 (9)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (10) (7) (0)
try rw [show (7) + (0) + 1 + (10) = 18 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (10) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t16 : 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 t17 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5 -- (+71 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (K.add (K.add -- (+66 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (14)
try rw [show (0) + (14) + 1 + (1) = 16 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (14)
try rw [show (0) + (14) + 1 + (1) = 16 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 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 t4 : 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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (19))))) := A1.Dn K O x hD (1) (17) (1) (2) (3) (18) (19) (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 (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (20))))) := A1.Dn K O x hD (2) (17) (2) (3) (4) (19) (20) (21) (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 (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 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 (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 t13 : 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 t14 : 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 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : 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 t18 : 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 t19 : 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 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 (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.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t23 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t24 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (2)) (hx (18))
have t25 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ -- (+265 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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (K.add (K. -- (+69 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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 (19)) (Zs K x (21))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (20))))) := A1.Dn K O x hD (1) (18) (1) (2) (3) (19) (20) (21) (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (21))))) := A1.Dn K O x hD (2) (18) (2) (3) (4) (20) (21) (22) (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 (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 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 (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 t13 : 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 t14 : 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 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (11)
try rw [show (6) + (11) + 1 + (3) = 21 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : 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 t18 : 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 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 (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.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t22 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t23 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (2)) (hx (19))
have t24 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (3)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+243 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (w + 15))) (Zs K x (w + 17))) -- (+117 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 15))
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.mul (Zs K x (3)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 10))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 10))
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 12))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 12))
have t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 14))
have t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 16))
have t8 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 19))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 18))
have t9 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 19))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 18))
have t10 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 21))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 20))
have t11 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 21))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 20))
have t12 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 11)))))) := by
have h := A2.mk K O x hT (w + 7) (3) (0)
try rw [show (3) + (0) + 1 + (w + 7) = w + 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 7) = w + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t13 : 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 (7)) (Zs K x (w + 11)))))) := by
have h := A2.mk K O x hT (w + 7) (3) (2)
try rw [show (3) + (2) + 1 + (w + 7) = w + 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 7) = w + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : 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 (9)) (Zs K x (w + 13)))))) := by
have h := A2.mk K O x hT (w + 9) (3) (4)
try rw [show (3) + (4) + 1 + (w + 9) = w + 17 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 9) = w + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t15 : 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 t16 : 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 (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (4)
try rw [show (3) + (4) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 13) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : 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 (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 14) (4) (3)
try rw [show (4) + (3) + 1 + (w + 14) = w + 22 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (w + 14) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (2)
try rw [show (6) + (2) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t25 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 12))))) := A1.Dn K O x hD (6) (w + 5) (6) (7) (8) (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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 t30 : 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 t31 : 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 t32 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 9) (7) (0)
try rw [show (7) + (0) + 1 + (w + 9) = w + 17 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 9) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t33 : 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 (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (0)
try rw [show (7) + (0) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t34 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 14))) (K.neg (K.mul (Zs K x (w + 12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (w + 3)
try rw [show (7) + (w + 3) + 1 + (2) = w + 13 by lib_nat] at h
try rw [show (7) + (w + 3) + 1 = w + 11 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 t35 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 12))))) := A1.Dn K O x hD (8) (w + 3) (8) (9) (10) (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 t36 : 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 t37 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 10))
exact nn_scale K O h1 h10 2 (Nat.le_of_ble_eq_true rfl) _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.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 -- (+589 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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (Zs K x (2)) -- (+61 chars; full line in the Zenodo source)
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 (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.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 (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 (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 (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 t10 : 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 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.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 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.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) (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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K -- (+85 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (3))))) := A1.Dn K O x hD (0) (2) (0) (1) (2) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (7))))) := A1.Dn K O x hD (0) (6) (0) (1) (2) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (9))))) := A1.Dn K O x hD (0) (8) (0) (1) (2) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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 t6 : 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 t7 : 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 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.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 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.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t12 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add -- (+88 chars; full line in the Zenodo source)
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 (2)) (Zs K x (4))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (3))))) := A1.Dn K O x hD (1) (1) (1) (2) (3) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t23 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t24 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+227 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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K. -- (+91 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 (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 (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 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.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 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 (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
have t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
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 (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t12 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
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 =>
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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add -- (+94 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 (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 (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 (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 (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 (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.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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (5)
try rw [show (3) + (5) + 1 + (6) = 15 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 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 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 (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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 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 (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 t21 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t22 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t23 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t24 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+231 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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.a -- (+97 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 (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.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 t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (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 t7 : 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 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.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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (0)) (hx (13))
have t20 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t21 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t22 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_a -- (+185 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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) ( -- (+100 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 (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 (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.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 (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 (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 t6 : 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 t7 : 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 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 (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 (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 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.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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 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.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 t20 : 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 t21 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t22 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
have t23 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (2)) (hx (14))
have t24 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+235 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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)) -- (+103 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 (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 (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.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 (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 (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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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 (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 (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 t10 : 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 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 (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.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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t21 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
have t22 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t23 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1. -- (+213 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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (1 -- (+106 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 (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 (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (15)
try rw [show (0) + (15) + 1 + (4) = 20 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (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 (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 (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (19))))) := A1.Dn K O x hD (1) (17) (1) (2) (3) (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.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 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 (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 t10 : 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 t11 : 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 (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (5)
try rw [show (4) + (5) + 1 + (6) = 16 by lib_nat] at h
try rw [show (4) + (5) + 1 = 10 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 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 (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 t14 : 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 t15 : 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 t16 : 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 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 (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 t19 : 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 t20 : 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 t21 : 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 t22 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (0)) (hx (14))
have t23 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t24 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
have t25 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.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 -- (+263 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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x -- (+109 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 (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 (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (16)
try rw [show (0) + (16) + 1 + (4) = 21 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (20))))) := A1.Dn K O x hD (1) (18) (1) (2) (3) (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 (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 (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 (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 t10 : 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 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 (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 t13 : 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 t14 : 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 t15 : 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 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 (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 t18 : 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 t19 : 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 t20 : 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 t21 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (0)) (hx (15))
have t22 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t23 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t24 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ -- (+241 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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs -- (+112 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 (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 (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (17)
try rw [show (0) + (17) + 1 + (4) = 22 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (22))))) := A1.Dn K O x hD (0) (21) (0) (1) (2) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 (16)) (Zs K x (18))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (17))))) := A1.Dn K O x hD (1) (15) (1) (2) (3) (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 (20)) (Zs K x (22))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (21))))) := A1.Dn K O x hD (1) (19) (1) (2) (3) (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.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 t8 : 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 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 (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 t11 : 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 t12 : 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 (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (7)
try rw [show (4) + (7) + 1 + (6) = 18 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 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 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)
have t14 : 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 t15 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))))) := A1.Dn K O x hD (5) (15) (5) (6) (7) (20) (21) (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 (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 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 (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 t20 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : 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 t22 : 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 t23 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (0)) (hx (16))
have t24 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t25 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (2)) (hx (16))
have t26 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+291 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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Z -- (+114 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 (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 (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (18)
try rw [show (0) + (18) + 1 + (4) = 23 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (23))))) := A1.Dn K O x hD (0) (22) (0) (1) (2) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 (17)) (Zs K x (19))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (18))))) := A1.Dn K O x hD (1) (16) (1) (2) (3) (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 (21)) (Zs K x (23))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (22))))) := A1.Dn K O x hD (1) (20) (1) (2) (3) (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.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 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 (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 t10 : 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 t11 : 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 t12 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (8)
try rw [show (4) + (8) + 1 + (6) = 19 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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)
have t14 : 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 t15 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (11)
try rw [show (5) + (11) + 1 + (5) = 22 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (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 (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 (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 t20 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : 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 t22 : 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 t23 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (0)) (hx (17))
have t24 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t25 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
have t26 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (4)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+293 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 16 -- (+162 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (0)) (hx (w + 14))
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (w + 19))) := O.mul_nonneg _ _ (hx (0)) (hx (w + 18))
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 (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 19))))) := A1.Dn K O x hD (1) (w + 17) (1) (2) (3) (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.mul (Zs K x (2)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 11))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (w + 22))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 21))
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 12) (2) (7)
try rw [show (2) + (7) + 1 + (w + 12) = w + 22 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (w + 12) = w + 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 (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 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 + 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 t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (4)
try rw [show (5) + (4) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 23))))) := A1.Dn K O x hD (5) (w + 17) (5) (6) (7) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t14 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 11))
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 13))))) := A1.Dn K O x hD (7) (w + 5) (7) (8) (9) (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 t16 : 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 t17 : 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 t18 : 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 (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (0)
try rw [show (8) + (0) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t19 : 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 t20 : 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 t21 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+173 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x ( -- (+128 chars; full line in the Zenodo source)
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 (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 (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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (9)
try rw [show (0) + (9) + 1 + (2) = 12 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 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.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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+129 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K -- (+131 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (3))))) := A1.Dn K O x hD (0) (2) (0) (1) (2) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (7))))) := A1.Dn K O x hD (0) (6) (0) (1) (2) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (11))))) := A1.Dn K O x hD (0) (10) (0) (1) (2) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (8)
try rw [show (2) + (8) + 1 + (2) = 13 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t6 : 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 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.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
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 (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs -- (+134 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (4))))) := A1.Dn K O x hD (0) (3) (0) (1) (2) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (8))))) := A1.Dn K O x hD (0) (7) (0) (1) (2) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (9)
try rw [show (0) + (9) + 1 + (2) = 12 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (12))))) := A1.Dn K O x hD (0) (11) (0) (1) (2) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 t6 : 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 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 (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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t24 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+229 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) -- (+137 chars; full line in the Zenodo source)
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.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 (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 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 (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 (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.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 t11 : 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 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.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 t14 : 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 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)
have t16 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
have t17 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t18 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) -- (+87 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13) -- (+140 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 (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (9)
try rw [show (0) + (9) + 1 + (6) = 16 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 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 t4 : 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 t5 : 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 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 (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 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (5)
try rw [show (4) + (5) + 1 + (6) = 16 by lib_nat] at h
try rw [show (4) + (5) + 1 = 10 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 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 (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 t14 : 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 t15 : 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 t16 : 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 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.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 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 (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 t22 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t23 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_a -- (+209 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x ( -- (+143 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 (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (1)
try rw [show (0) + (1) + 1 + (5) = 7 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (10)
try rw [show (0) + (10) + 1 + (6) = 17 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 t5 : 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 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.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 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.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 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 (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 t14 : 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 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.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 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 (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 (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 t20 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t21 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K -- (+146 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 (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t5 : 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 t6 : 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 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 (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 (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 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 (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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 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 (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 t24 : 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 t25 : 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)
have t26 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t27 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1. -- (+309 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs -- (+149 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 (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 (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.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 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.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 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 (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 (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 t9 : 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 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.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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 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.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 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 (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 t22 : 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 t23 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (0)) (hx (17))
have t24 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t25 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.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 -- (+263 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) -- (+152 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 (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 (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (18)
try rw [show (0) + (18) + 1 + (1) = 20 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 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 t5 : 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 t6 : 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 (10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (7)
try rw [show (1) + (7) + 1 + (6) = 15 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.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 t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : 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 t10 : 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (18))))) := A1.Dn K O x hD (2) (15) (2) (3) (4) (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 (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.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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 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.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 t24 : 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 t25 : 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 t26 : 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 t27 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
have t28 : 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 _ _ (A1.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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16) -- (+155 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (8)
try rw [show (0) + (8) + 1 + (4) = 13 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (17)
try rw [show (0) + (17) + 1 + (3) = 21 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (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 (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 t7 : 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 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 (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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (19))))) := A1.Dn K O x hD (2) (16) (2) (3) (4) (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.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 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.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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 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 (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.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 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 (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 t24 : 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 t25 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
have t26 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (2)) (hx (15))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+291 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (1 -- (+157 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 (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.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 (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (12)
try rw [show (0) + (12) + 1 + (5) = 18 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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 t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (16)
try rw [show (0) + (16) + 1 + (5) = 22 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (22))))) := A1.Dn K O x hD (0) (21) (0) (1) (2) (21) (22) (23) (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 (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 t7 : 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 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 (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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (20))))) := A1.Dn K O x hD (2) (17) (2) (3) (4) (19) (20) (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 (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 t12 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t13 : 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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (22))))) := A1.Dn K O x hD (4) (17) (4) (5) (6) (21) (22) (23) (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.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 t16 : 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 (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (5)
try rw [show (5) + (5) + 1 + (6) = 17 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 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 t17 : 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 t18 : 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 t19 : 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 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 (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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (10)
try rw [show (8) + (10) + 1 + (3) = 22 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (22))))) := A1.Dn K O x hD (8) (13) (8) (9) (10) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : 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 t25 : 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 t26 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t27 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (0)) (hx (18))
have t28 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+341 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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x -- (+159 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 (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.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.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (18)
try rw [show (0) + (18) + 1 + (4) = 23 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (23))))) := A1.Dn K O x hD (0) (22) (0) (1) (2) (22) (23) (24) (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 (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 t6 : 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 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 (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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (21))))) := A1.Dn K O x hD (2) (18) (2) (3) (4) (20) (21) (22) (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 (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 t11 : 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 t12 : 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 t13 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : 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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (23))))) := A1.Dn K O x hD (4) (18) (4) (5) (6) (22) (23) (24) (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 (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 t17 : 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 t18 : 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 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 (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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (11)
try rw [show (8) + (11) + 1 + (3) = 23 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (23))))) := A1.Dn K O x hD (8) (14) (8) (9) (10) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have 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 (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 t25 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t26 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
have t27 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (3)) (hx (16))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+319 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 13)) (Zs K x (w -- (+207 chars; full line in the Zenodo source)
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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 18))))) := A1.Dn K O x hD (0) (w + 17) (0) (1) (2) (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 + 21)) (Zs K x (w + 23))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 22))))) := A1.Dn K O x hD (0) (w + 21) (0) (1) (2) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (3)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 21) (1) (0)
try rw [show (1) + (0) + 1 + (w + 21) = w + 23 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (w + 21) = w + 22 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 (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 + 19)) (Zs K x (w + 21))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 20))))) := A1.Dn K O x hD (2) (w + 17) (2) (3) (4) (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 t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 12))
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 12) (3) (7)
try rw [show (3) + (7) + 1 + (w + 12) = w + 23 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (w + 12) = 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 + 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 t9 : 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 t10 : 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 t11 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (4)
try rw [show (6) + (4) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 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 (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 + 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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 24))))) := A1.Dn K O x hD (6) (w + 17) (6) (7) (8) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t15 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 12))
have t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 14))))) := A1.Dn K O x hD (8) (w + 5) (8) (9) (10) (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 t17 : 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 t18 : 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 t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (0)
try rw [show (9) + (0) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : 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 t21 : 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 t22 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (10)) (hx (w + 12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+199 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) -- (+153 chars; full line in the Zenodo source)
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 (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (9)
try rw [show (1) + (9) + 1 + (2) = 13 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (13))))) := A1.Dn K O x hD (1) (11) (1) (2) (3) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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)
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 (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.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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+131 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9) -- (+156 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 (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (10)
try rw [show (0) + (10) + 1 + (2) = 13 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (8)
try rw [show (3) + (8) + 1 + (2) = 14 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t9 : 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 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 (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x ( -- (+159 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 (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 (9)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (7)
try rw [show (0) + (7) + 1 + (2) = 10 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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.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.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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 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 (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 t21 : 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 t22 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+183 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K -- (+162 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 (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (10)
try rw [show (0) + (10) + 1 + (4) = 15 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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 (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.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 t9 : 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 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.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 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 (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 t14 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) (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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs -- (+165 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 (7))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (3)
try rw [show (0) + (3) + 1 + (6) = 10 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (9)
try rw [show (0) + (9) + 1 + (4) = 14 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 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 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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (9)
try rw [show (1) + (9) + 1 + (6) = 17 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.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 (16)) (Zs K x (18))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (17))))) := A1.Dn K O x hD (1) (15) (1) (2) (3) (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 (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 (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 (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 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)
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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (5)
try rw [show (5) + (5) + 1 + (6) = 17 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 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 (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 t20 : 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 t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : 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 t23 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+211 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) -- (+168 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (10)
try rw [show (0) + (10) + 1 + (6) = 17 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (8)
try rw [show (3) + (8) + 1 + (6) = 18 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t10 : 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 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 (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 t13 : 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 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 (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 (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 t17 : 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 t18 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t -- (+93 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12) -- (+171 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (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 (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (16)) (Zs K x (18))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (17))))) := A1.Dn K O x hD (1) (15) (1) (2) (3) (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 (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 (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 t8 : 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 t9 : 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 (19)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (14)
try rw [show (3) + (14) + 1 + (1) = 19 by lib_nat] at h
try rw [show (3) + (14) + 1 = 18 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 t10 : 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 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 (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 (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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.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 -- (+215 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x ( -- (+174 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (17)) (Zs K x (19))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (18))))) := A1.Dn K O x hD (1) (16) (1) (2) (3) (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (15)
try rw [show (2) + (15) + 1 + (1) = 19 by lib_nat] at h
try rw [show (2) + (15) + 1 = 18 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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.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 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 (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 t12 : 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 t13 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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.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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ -- (+169 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K -- (+177 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (19))))) := A1.Dn K O x hD (1) (17) (1) (2) (3) (18) (19) (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 (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 (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (21))))) := A1.Dn K O x hD (3) (17) (3) (4) (5) (20) (21) (22) (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 (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 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.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 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 (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.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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (1)
try rw [show (10) + (1) + 1 + (2) = 14 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : 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 t23 : 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)
have t24 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+243 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs -- (+179 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (15)
try rw [show (0) + (15) + 1 + (5) = 21 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 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 (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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (20))))) := A1.Dn K O x hD (1) (18) (1) (2) (3) (19) (20) (21) (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 (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (22))))) := A1.Dn K O x hD (3) (18) (3) (4) (5) (21) (22) (23) (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 (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 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 (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 t13 : 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 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 (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.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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : 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 t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (14))))) := A1.Dn K O x hD (11) (2) (11) (12) (13) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+245 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Z -- (+181 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (17)
try rw [show (0) + (17) + 1 + (4) = 22 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 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 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.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (17))))) := A1.Dn K O x hD (1) (15) (1) (2) (3) (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 (20)) (Zs K x (22))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (21))))) := A1.Dn K O x hD (1) (19) (1) (2) (3) (20) (21) (22) (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 (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 t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (15)
try rw [show (3) + (15) + 1 + (4) = 23 by lib_nat] at h
try rw [show (3) + (15) + 1 = 19 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (23))))) := A1.Dn K O x hD (3) (19) (3) (4) (5) (22) (23) (24) (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 (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 t11 : 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 t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))))) := A1.Dn K O x hD (5) (15) (5) (6) (7) (20) (21) (22) (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.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 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 (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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (10)
try rw [show (7) + (10) + 1 + (5) = 23 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (23))))) := A1.Dn K O x hD (7) (15) (7) (8) (9) (22) (23) (24) (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 (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 t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : 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)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (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 -- (+247 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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) -- (+183 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (11)
try rw [show (0) + (11) + 1 + (3) = 15 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (19)
try rw [show (0) + (19) + 1 + (3) = 23 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 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 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 (17)) (Zs K x (19))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (18))))) := A1.Dn K O x hD (1) (16) (1) (2) (3) (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 (21)) (Zs K x (23))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (22))))) := A1.Dn K O x hD (1) (20) (1) (2) (3) (21) (22) (23) (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 (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (15)
try rw [show (3) + (15) + 1 + (5) = 24 by lib_nat] at h
try rw [show (3) + (15) + 1 = 19 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (24))))) := A1.Dn K O x hD (3) (20) (3) (4) (5) (23) (24) (25) (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 (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 t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (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 (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 t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (11)
try rw [show (7) + (11) + 1 + (5) = 24 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))))) := A1.Dn K O x hD (7) (16) (7) (8) (9) (23) (24) (25) (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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (4)
try rw [show (8) + (4) + 1 + (6) = 19 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t19 : 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 t20 : 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 t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (14))))) := A1.Dn K O x hD (11) (2) (11) (12) (13) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (16))))) := A1.Dn K O x hD (11) (4) (11) (12) (13) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t25 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (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 (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+297 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K -- (+231 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 13) (0) (2)
try rw [show (0) + (2) + 1 + (w + 13) = w + 16 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (w + 13) = 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 (1)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 13) (0) (6)
try rw [show (0) + (6) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (0) + (6) + 1 = 7 by lib_nat] at h
try rw [show (0) + (w + 13) = w + 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 (1)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 13) (0) (10)
try rw [show (0) + (10) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (w + 13) = w + 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 (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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 19))))) := A1.Dn K O x hD (1) (w + 17) (1) (2) (3) (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 + 22)) (Zs K x (w + 24))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 23))))) := A1.Dn K O x hD (1) (w + 21) (1) (2) (3) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 14) (3) (7)
try rw [show (3) + (7) + 1 + (w + 14) = w + 25 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (w + 14) = w + 17 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 (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 t8 : 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 25))))) := A1.Dn K O x hD (3) (w + 21) (3) (4) (5) (w + 24) (w + 25) (w + 26) (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 (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 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 + 22)) (Zs K x (w + 24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 23))))) := A1.Dn K O x hD (5) (w + 17) (5) (6) (7) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t13 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 17) (6) (0)
try rw [show (6) + (0) + 1 + (w + 17) = w + 24 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 17) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : 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 t15 : 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 t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (2)
try rw [show (8) + (2) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t18 : 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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 5) (10) (0)
try rw [show (10) + (0) + 1 + (w + 5) = w + 16 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 5) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 9) (10) (0)
try rw [show (10) + (0) + 1 + (w + 9) = w + 20 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 9) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (0)
try rw [show (10) + (0) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+201 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9 -- (+157 chars; full line in the Zenodo source)
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 (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (9)
try rw [show (2) + (9) + 1 + (2) = 14 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (14))))) := A1.Dn K O x hD (2) (11) (2) (3) (4) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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.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 (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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (1)
try rw [show (6) + (1) + 1 + (6) = 14 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t13 : 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 t14 : 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 t15 : 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 t16 : 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 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 (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 t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (1)
try rw [show (10) + (1) + 1 + (2) = 14 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : 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_add K -- (+133 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x -- (+160 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 (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (10)
try rw [show (1) + (10) + 1 + (2) = 14 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (8)
try rw [show (4) + (8) + 1 + (2) = 15 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K -- (+163 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 (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 (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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 t6 : 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 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 (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.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 t11 : 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 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.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 t14 : 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 t15 : 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 t16 : 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 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.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 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 (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)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_a -- (+185 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Z -- (+166 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (10)
try rw [show (1) + (10) + 1 + (4) = 16 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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 (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.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 t9 : 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 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.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 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 (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 t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) (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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) -- (+169 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 (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (3)
try rw [show (1) + (3) + 1 + (6) = 11 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (9)
try rw [show (1) + (9) + 1 + (4) = 15 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 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 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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (9)
try rw [show (2) + (9) + 1 + (6) = 18 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 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 (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (18))))) := A1.Dn K O x hD (2) (15) (2) (3) (4) (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 (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 (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 (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 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)
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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (5)
try rw [show (6) + (5) + 1 + (6) = 18 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 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 t14 : 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 t15 : 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 t16 : 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 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 (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 (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 t20 : 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 t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : 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 t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1. -- (+213 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12 -- (+172 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (10)
try rw [show (1) + (10) + 1 + (6) = 18 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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 (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (8)
try rw [show (4) + (8) + 1 + (6) = 19 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t10 : 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 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 (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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (4)
try rw [show (8) + (4) + 1 + (6) = 19 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t14 : 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 t15 : 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 t16 : 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 t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (0)
try rw [show (11) + (0) + 1 + (6) = 18 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 -- (+95 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x -- (+175 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (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 (10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (7)
try rw [show (1) + (7) + 1 + (6) = 15 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (17)) (Zs K x (19))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (18))))) := A1.Dn K O x hD (2) (15) (2) (3) (4) (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 (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 (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 t8 : 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 t9 : 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 (20)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (14)
try rw [show (4) + (14) + 1 + (1) = 20 by lib_nat] at h
try rw [show (4) + (14) + 1 = 19 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 t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t14 : 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 t15 : 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 t16 : 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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (0)
try rw [show (11) + (0) + 1 + (7) = 19 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ -- (+217 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K -- (+178 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (18)) (Zs K x (20))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (19))))) := A1.Dn K O x hD (2) (16) (2) (3) (4) (18) (19) (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 (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 (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 t8 : 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 t9 : 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 (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (15)
try rw [show (4) + (15) + 1 + (1) = 21 by lib_nat] at h
try rw [show (4) + (15) + 1 = 20 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 t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t15 : 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 t16 : 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 t17 : 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 (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (7)
try rw [show (8) + (7) + 1 + (5) = 21 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 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 t18 : 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 t19 : 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 t20 : 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 t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (7)
try rw [show (11) + (7) + 1 + (1) = 20 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+195 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs -- (+180 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (12)
try rw [show (1) + (12) + 1 + (7) = 21 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (20))))) := A1.Dn K O x hD (2) (17) (2) (3) (4) (19) (20) (21) (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (22))))) := A1.Dn K O x hD (4) (17) (4) (5) (6) (21) (22) (23) (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 (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 (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.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 t14 : 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 t15 : 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 t16 : 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 (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (8)
try rw [show (8) + (8) + 1 + (5) = 22 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (22))))) := A1.Dn K O x hD (8) (13) (8) (9) (10) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t18 : 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 t19 : 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 t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (8)
try rw [show (11) + (8) + 1 + (1) = 21 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (18))))) := A1.Dn K O x hD (12) (5) (12) (13) (14) (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 -- (+245 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) ( -- (+182 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.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (17)
try rw [show (1) + (17) + 1 + (3) = 22 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (21))))) := A1.Dn K O x hD (2) (18) (2) (3) (4) (20) (21) (22) (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 (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (12)
try rw [show (4) + (12) + 1 + (6) = 23 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (23))))) := A1.Dn K O x hD (4) (18) (4) (5) (6) (22) (23) (24) (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 (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 (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 t14 : 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 t15 : 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 t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (9)
try rw [show (8) + (9) + 1 + (5) = 23 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (23))))) := A1.Dn K O x hD (8) (14) (8) (9) (10) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t18 : 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 t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : 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 t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (9)
try rw [show (11) + (9) + 1 + (1) = 22 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (19))))) := A1.Dn K O x hD (12) (6) (12) (13) (14) (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 -- (+247 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) -- (+184 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (16)
try rw [show (1) + (16) + 1 + (5) = 23 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (18))))) := A1.Dn K O x hD (2) (15) (2) (3) (4) (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 (21)) (Zs K x (23))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (22))))) := A1.Dn K O x hD (2) (19) (2) (3) (4) (21) (22) (23) (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 (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 t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (15)
try rw [show (4) + (15) + 1 + (4) = 24 by lib_nat] at h
try rw [show (4) + (15) + 1 = 20 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (24))))) := A1.Dn K O x hD (4) (19) (4) (5) (6) (23) (24) (25) (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 (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (5)
try rw [show (6) + (5) + 1 + (6) = 18 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 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 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 (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 (21)) (Zs K x (23))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (22))))) := A1.Dn K O x hD (6) (15) (6) (7) (8) (21) (22) (23) (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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t15 : 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 t16 : 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 t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (10)
try rw [show (8) + (10) + 1 + (5) = 24 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (24))))) := A1.Dn K O x hD (8) (15) (8) (9) (10) (23) (24) (25) (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 (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 t20 : 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 t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))))) := A1.Dn K O x hD (10) (11) (10) (11) (12) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (10)
try rw [show (11) + (10) + 1 + (1) = 23 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (20))))) := A1.Dn K O x hD (12) (7) (12) (13) (14) (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 -- (+249 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16) -- (+186 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (11)
try rw [show (1) + (11) + 1 + (3) = 16 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (16)
try rw [show (1) + (16) + 1 + (6) = 24 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 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.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 (18)) (Zs K x (20))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (19))))) := A1.Dn K O x hD (2) (16) (2) (3) (4) (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 (22)) (Zs K x (24))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (23))))) := A1.Dn K O x hD (2) (20) (2) (3) (4) (22) (23) (24) (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 (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 (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 t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (18)
try rw [show (4) + (18) + 1 + (2) = 25 by lib_nat] at h
try rw [show (4) + (18) + 1 = 23 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (25))))) := A1.Dn K O x hD (4) (20) (4) (5) (6) (24) (25) (26) (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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (22)) (Zs K x (24))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (23))))) := A1.Dn K O x hD (6) (16) (6) (7) (8) (22) (23) (24) (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.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 t15 : 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 t16 : 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 t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (11)
try rw [show (8) + (11) + 1 + (5) = 25 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (25))))) := A1.Dn K O x hD (8) (16) (8) (9) (10) (24) (25) (26) (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 (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 t20 : 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 t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (23))))) := A1.Dn K O x hD (10) (12) (10) (11) (12) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (11)
try rw [show (11) + (11) + 1 + (1) = 24 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (21))))) := A1.Dn K O x hD (12) (8) (12) (13) (14) (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_ad -- (+251 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 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Z -- (+234 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 13) (1) (2)
try rw [show (1) + (2) + 1 + (w + 13) = w + 17 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (w + 13) = 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 (2)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 13) (1) (6)
try rw [show (1) + (6) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (1) + (6) + 1 = 8 by lib_nat] at h
try rw [show (1) + (w + 13) = w + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 13) (1) (10)
try rw [show (1) + (10) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (w + 13) = w + 14 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 + 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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 20))))) := A1.Dn K O x hD (2) (w + 17) (2) (3) (4) (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 + 23)) (Zs K x (w + 25))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 24))))) := A1.Dn K O x hD (2) (w + 21) (2) (3) (4) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 21) (3) (0)
try rw [show (3) + (0) + 1 + (w + 21) = w + 25 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 21) = w + 24 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 + 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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (6)
try rw [show (5) + (6) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 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 + 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 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 + 23)) (Zs K x (w + 25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 24))))) := A1.Dn K O x hD (6) (w + 17) (6) (7) (8) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t13 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 14) (8) (3)
try rw [show (8) + (3) + 1 + (w + 14) = w + 26 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (w + 14) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t15 : 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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 26))))) := A1.Dn K O x hD (8) (w + 17) (8) (9) (10) (w + 25) (w + 26) (w + 27) (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 (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 t18 : 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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 24))))) := A1.Dn K O x hD (10) (w + 13) (10) (11) (12) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 5) (11) (0)
try rw [show (11) + (0) + 1 + (w + 5) = w + 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 5) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 9) (11) (0)
try rw [show (11) + (0) + 1 + (w + 9) = w + 21 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 9) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (0)
try rw [show (11) + (0) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_ad -- (+203 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x -- (+161 chars; full line in the Zenodo source)
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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (9)
try rw [show (3) + (9) + 1 + (2) = 15 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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.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 (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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (1)
try rw [show (7) + (1) + 1 + (6) = 15 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 t17 : 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 t18 : 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)
have t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+135 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K -- (+164 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 (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (10)
try rw [show (2) + (10) + 1 + (2) = 15 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (8)
try rw [show (5) + (8) + 1 + (2) = 16 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Z -- (+167 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (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 (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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 t6 : 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 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 (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.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 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 (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 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 (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 (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 t17 : 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 t18 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (3)
try rw [show (9) + (3) + 1 + (4) = 17 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t19 : 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 t20 : 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)
have t21 : 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)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (0)
try rw [show (12) + (0) + 1 + (3) = 16 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+187 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) -- (+170 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (10)
try rw [show (2) + (10) + 1 + (4) = 17 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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 (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.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 t9 : 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 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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (15)) (Zs K x (17))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (16))))) := A1.Dn K O x hD (11) (4) (11) (12) (13) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (0)
try rw [show (12) + (0) + 1 + (4) = 17 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12 -- (+173 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (9)
try rw [show (3) + (9) + 1 + (6) = 19 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 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 (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 t6 : 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 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.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 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)
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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (5)
try rw [show (7) + (5) + 1 + (6) = 19 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t16 : 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 t17 : 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 t18 : 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 t19 : 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)
have t20 : 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)
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (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 (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.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 -- (+215 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x -- (+176 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (10)
try rw [show (2) + (10) + 1 + (6) = 19 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (8)
try rw [show (5) + (8) + 1 + (6) = 20 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 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 (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 (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 t13 : 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 (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (4)
try rw [show (9) + (4) + 1 + (6) = 20 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t14 : 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 t15 : 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 t16 : 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)
have t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (0)
try rw [show (12) + (0) + 1 + (6) = 19 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ -- (+97 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K -- (+179 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (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 (11)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (7)
try rw [show (2) + (7) + 1 + (6) = 16 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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 (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))))) := A1.Dn K O x hD (5) (15) (5) (6) (7) (20) (21) (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 (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (14)
try rw [show (5) + (14) + 1 + (1) = 21 by lib_nat] at h
try rw [show (5) + (14) + 1 = 20 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 t14 : 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 t15 : 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 t16 : 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 (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (4)
try rw [show (9) + (4) + 1 + (7) = 21 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t17 : 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : 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)
have t20 : 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)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (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.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (0)
try rw [show (12) + (0) + 1 + (7) = 20 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+219 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs -- (+181 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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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 (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (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 (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (15)
try rw [show (5) + (15) + 1 + (1) = 22 by lib_nat] at h
try rw [show (5) + (15) + 1 = 21 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t15 : 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 t16 : 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 t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (7)
try rw [show (9) + (7) + 1 + (5) = 22 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (16))))) := A1.Dn K O x hD (11) (4) (11) (12) (13) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (19) (20) (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.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (7)
try rw [show (12) + (7) + 1 + (1) = 21 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+197 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) ( -- (+183 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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (21))))) := A1.Dn K O x hD (3) (17) (3) (4) (5) (20) (21) (22) (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (23))))) := A1.Dn K O x hD (5) (17) (5) (6) (7) (22) (23) (24) (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 (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 t12 : 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 t13 : 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
have t14 : 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 t15 : 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 t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (8)
try rw [show (9) + (8) + 1 + (5) = 23 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (23))))) := A1.Dn K O x hD (9) (13) (9) (10) (11) (22) (23) (24) (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 (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)
have t19 : 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)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (21))))) := A1.Dn K O x hD (11) (9) (11) (12) (13) (20) (21) (22) (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.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (8)
try rw [show (12) + (8) + 1 + (1) = 22 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (19))))) := A1.Dn K O x hD (13) (5) (13) (14) (15) (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 -- (+247 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) -- (+185 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.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (17)
try rw [show (2) + (17) + 1 + (3) = 23 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (22))))) := A1.Dn K O x hD (3) (18) (3) (4) (5) (21) (22) (23) (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 (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (12)
try rw [show (5) + (12) + 1 + (6) = 24 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (24))))) := A1.Dn K O x hD (5) (18) (5) (6) (7) (23) (24) (25) (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 (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 t13 : 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 t14 : 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 t15 : 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 t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (9)
try rw [show (9) + (9) + 1 + (5) = 24 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (24))))) := A1.Dn K O x hD (9) (14) (9) (10) (11) (23) (24) (25) (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 (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (14))))) := A1.Dn K O x hD (11) (2) (11) (12) (13) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : 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)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (22))))) := A1.Dn K O x hD (11) (10) (11) (12) (13) (21) (22) (23) (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.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (9)
try rw [show (12) + (9) + 1 + (1) = 23 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (20))))) := A1.Dn K O x hD (13) (6) (13) (14) (15) (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 -- (+249 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16) -- (+187 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (16)
try rw [show (2) + (16) + 1 + (5) = 24 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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.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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (23))))) := A1.Dn K O x hD (3) (19) (3) (4) (5) (22) (23) (24) (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))))) := A1.Dn K O x hD (5) (15) (5) (6) (7) (20) (21) (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 (24)) (Zs K x (26))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (25))))) := A1.Dn K O x hD (5) (19) (5) (6) (7) (24) (25) (26) (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 (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (5)
try rw [show (7) + (5) + 1 + (6) = 19 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t11 : 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 t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (23))))) := A1.Dn K O x hD (7) (15) (7) (8) (9) (22) (23) (24) (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 (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (10)
try rw [show (9) + (10) + 1 + (5) = 25 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (25))))) := A1.Dn K O x hD (9) (15) (9) (10) (11) (24) (25) (26) (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 (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)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (18) (19) (20) (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 (22)) (Zs K x (24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (23))))) := A1.Dn K O x hD (11) (11) (11) (12) (13) (22) (23) (24) (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.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (1)
try rw [show (12) + (1) + 1 + (4) = 18 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (10)
try rw [show (12) + (10) + 1 + (1) = 24 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (21))))) := A1.Dn K O x hD (13) (7) (13) (14) (15) (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_ad -- (+251 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (1 -- (+189 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (11)
try rw [show (2) + (11) + 1 + (3) = 17 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (16)
try rw [show (2) + (16) + 1 + (6) = 25 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (24))))) := A1.Dn K O x hD (3) (20) (3) (4) (5) (23) (24) (25) (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 (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (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 (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (18)
try rw [show (5) + (18) + 1 + (2) = 26 by lib_nat] at h
try rw [show (5) + (18) + 1 = 24 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (26))))) := A1.Dn K O x hD (5) (20) (5) (6) (7) (25) (26) (27) (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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))))) := A1.Dn K O x hD (7) (16) (7) (8) (9) (23) (24) (25) (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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (4)
try rw [show (8) + (4) + 1 + (6) = 19 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 t15 : 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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (11)
try rw [show (9) + (11) + 1 + (5) = 26 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (26))))) := A1.Dn K O x hD (9) (16) (9) (10) (11) (25) (26) (27) (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 (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (16))))) := A1.Dn K O x hD (11) (4) (11) (12) (13) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (19) (20) (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 (23)) (Zs K x (25))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (24))))) := A1.Dn K O x hD (11) (12) (11) (12) (13) (23) (24) (25) (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.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (11)
try rw [show (12) + (11) + 1 + (1) = 25 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (22))))) := A1.Dn K O x hD (13) (8) (13) (14) (15) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_ -- (+253 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 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add -- (+237 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (2)
try rw [show (2) + (2) + 1 + (w + 13) = w + 18 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 (3)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (6)
try rw [show (2) + (6) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 13) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (10)
try rw [show (2) + (10) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (w + 13) = w + 15 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 + 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 t4 : 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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 25))))) := A1.Dn K O x hD (3) (w + 21) (3) (4) (5) (w + 24) (w + 25) (w + 26) (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 + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (8)
try rw [show (5) + (8) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (w + 13) = 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 + 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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 23))))) := A1.Dn K O x hD (5) (w + 17) (5) (6) (7) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 27))))) := A1.Dn K O x hD (5) (w + 21) (5) (6) (7) (w + 26) (w + 27) (w + 28) (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 (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 t11 : 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 25))))) := A1.Dn K O x hD (7) (w + 17) (7) (8) (9) (w + 24) (w + 25) (w + 26) (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (4)
try rw [show (9) + (4) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 27))))) := A1.Dn K O x hD (9) (w + 17) (9) (10) (11) (w + 26) (w + 27) (w + 28) (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 + 16)) (Zs K x (w + 18))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 17))))) := A1.Dn K O x hD (11) (w + 5) (11) (12) (13) (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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 21))))) := A1.Dn K O x hD (11) (w + 9) (11) (12) (13) (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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 25))))) := A1.Dn K O x hD (11) (w + 13) (11) (12) (13) (w + 24) (w + 25) (w + 26) (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.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (0)
try rw [show (12) + (0) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 19))))) := A1.Dn K O x hD (13) (w + 5) (13) (14) (15) (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 + 22)) (Zs K x (w + 24))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 23))))) := A1.Dn K O x hD (13) (w + 9) (13) (14) (15) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_ -- (+205 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs -- (+165 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 (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 (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (9)
try rw [show (4) + (9) + 1 + (2) = 16 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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.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
have t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_a -- (+137 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) ( -- (+168 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (10)
try rw [show (3) + (10) + 1 + (2) = 16 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 t6 : 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
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.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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)) -- (+171 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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 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 (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.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 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 (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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (3)
try rw [show (10) + (3) + 1 + (4) = 18 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t19 : 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 t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (0)
try rw [show (13) + (0) + 1 + (3) = 17 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1. -- (+189 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (1 -- (+174 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (10)
try rw [show (3) + (10) + 1 + (4) = 18 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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 (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.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 t9 : 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 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.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (3)
try rw [show (10) + (3) + 1 + (5) = 19 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (0)
try rw [show (13) + (0) + 1 + (4) = 18 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x -- (+177 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (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 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (9)
try rw [show (4) + (9) + 1 + (6) = 20 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 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 (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 (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 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.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 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)
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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (5)
try rw [show (8) + (5) + 1 + (6) = 20 by lib_nat] at h
try rw [show (8) + (5) + 1 = 14 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (20))))) := A1.Dn K O x hD (12) (7) (12) (13) (14) (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 (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ -- (+217 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs -- (+180 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (10)
try rw [show (3) + (10) + 1 + (6) = 20 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (8)
try rw [show (6) + (8) + 1 + (6) = 21 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 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 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 (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 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)
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 (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 t13 : 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 (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (4)
try rw [show (10) + (4) + 1 + (6) = 21 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t14 : 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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (19))))) := A1.Dn K O x hD (12) (6) (12) (13) (14) (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.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (0)
try rw [show (13) + (0) + 1 + (6) = 20 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+99 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Z -- (+182 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 (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (7)
try rw [show (3) + (7) + 1 + (6) = 17 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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 (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (22))))) := A1.Dn K O x hD (6) (15) (6) (7) (8) (21) (22) (23) (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 (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (14)
try rw [show (6) + (14) + 1 + (1) = 22 by lib_nat] at h
try rw [show (6) + (14) + 1 = 21 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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 t14 : 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 t15 : 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 t16 : 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 (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (4)
try rw [show (10) + (4) + 1 + (7) = 22 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t17 : 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))))) := A1.Dn K O x hD (10) (11) (10) (11) (12) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (20))))) := A1.Dn K O x hD (12) (7) (12) (13) (14) (19) (20) (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.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (0)
try rw [show (13) + (0) + 1 + (7) = 21 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+221 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) -- (+184 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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 (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (23))))) := A1.Dn K O x hD (6) (16) (6) (7) (8) (22) (23) (24) (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 (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (15)
try rw [show (6) + (15) + 1 + (1) = 23 by lib_nat] at h
try rw [show (6) + (15) + 1 = 22 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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 t14 : 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
have t15 : 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 t16 : 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 t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (7)
try rw [show (10) + (7) + 1 + (5) = 23 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (23))))) := A1.Dn K O x hD (10) (12) (10) (11) (12) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (21))))) := A1.Dn K O x hD (12) (8) (12) (13) (14) (20) (21) (22) (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.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (7)
try rw [show (13) + (7) + 1 + (1) = 22 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (19))))) := A1.Dn K O x hD (14) (4) (14) (15) (16) (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 -- (+199 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15)) -- (+186 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (22))))) := A1.Dn K O x hD (4) (17) (4) (5) (6) (21) (22) (23) (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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (24))))) := A1.Dn K O x hD (6) (17) (6) (7) (8) (23) (24) (25) (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 (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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (22))))) := A1.Dn K O x hD (8) (13) (8) (9) (10) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t13 : 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
have t14 : 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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (8)
try rw [show (10) + (8) + 1 + (5) = 24 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (24))))) := A1.Dn K O x hD (10) (13) (10) (11) (12) (23) (24) (25) (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 (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (18))))) := A1.Dn K O x hD (12) (5) (12) (13) (14) (17) (18) (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 (21)) (Zs K x (23))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (22))))) := A1.Dn K O x hD (12) (9) (12) (13) (14) (21) (22) (23) (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.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (1)
try rw [show (13) + (1) + 1 + (2) = 17 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (8)
try rw [show (13) + (8) + 1 + (1) = 23 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (16))))) := A1.Dn K O x hD (14) (1) (14) (15) (16) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (20))))) := A1.Dn K O x hD (14) (5) (14) (15) (16) (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 -- (+249 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16 -- (+188 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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (17)
try rw [show (3) + (17) + 1 + (3) = 24 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (23))))) := A1.Dn K O x hD (4) (18) (4) (5) (6) (22) (23) (24) (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 (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (12)
try rw [show (6) + (12) + 1 + (6) = 25 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (25))))) := A1.Dn K O x hD (6) (18) (6) (7) (8) (24) (25) (26) (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 (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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (23))))) := A1.Dn K O x hD (8) (14) (8) (9) (10) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t14 : 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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (9)
try rw [show (10) + (9) + 1 + (5) = 25 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (25))))) := A1.Dn K O x hD (10) (14) (10) (11) (12) (24) (25) (26) (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 (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (2)
try rw [show (12) + (2) + 1 + (4) = 19 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (19))))) := A1.Dn K O x hD (12) (6) (12) (13) (14) (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 (22)) (Zs K x (24))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (23))))) := A1.Dn K O x hD (12) (10) (12) (13) (14) (22) (23) (24) (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.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (9)
try rw [show (13) + (9) + 1 + (1) = 24 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (21))))) := A1.Dn K O x hD (14) (6) (14) (15) (16) (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_ad -- (+251 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x ( -- (+190 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (16)
try rw [show (3) + (16) + 1 + (5) = 25 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (24))))) := A1.Dn K O x hD (4) (19) (4) (5) (6) (23) (24) (25) (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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (12)
try rw [show (6) + (12) + 1 + (7) = 26 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (22))))) := A1.Dn K O x hD (6) (15) (6) (7) (8) (21) (22) (23) (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 (25)) (Zs K x (27))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (26))))) := A1.Dn K O x hD (6) (19) (6) (7) (8) (25) (26) (27) (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 (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (5)
try rw [show (8) + (5) + 1 + (6) = 20 by lib_nat] at h
try rw [show (8) + (5) + 1 = 14 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 t11 : 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 t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (24))))) := A1.Dn K O x hD (8) (15) (8) (9) (10) (23) (24) (25) (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 (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))))) := A1.Dn K O x hD (10) (11) (10) (11) (12) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (10)
try rw [show (10) + (10) + 1 + (5) = 26 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (26))))) := A1.Dn K O x hD (10) (15) (10) (11) (12) (25) (26) (27) (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 (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (20))))) := A1.Dn K O x hD (12) (7) (12) (13) (14) (19) (20) (21) (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 (23)) (Zs K x (25))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (24))))) := A1.Dn K O x hD (12) (11) (12) (13) (14) (23) (24) (25) (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.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (1)
try rw [show (13) + (1) + 1 + (4) = 19 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (10)
try rw [show (13) + (10) + 1 + (1) = 25 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (22))))) := A1.Dn K O x hD (14) (7) (14) (15) (16) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_ -- (+253 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x -- (+192 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (11)
try rw [show (3) + (11) + 1 + (3) = 18 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (16)
try rw [show (3) + (16) + 1 + (6) = 26 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (25))))) := A1.Dn K O x hD (4) (20) (4) (5) (6) (24) (25) (26) (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 (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 (22)) (Zs K x (24))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (23))))) := A1.Dn K O x hD (6) (16) (6) (7) (8) (22) (23) (24) (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 (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (18)
try rw [show (6) + (18) + 1 + (2) = 27 by lib_nat] at h
try rw [show (6) + (18) + 1 = 25 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 (26)) (Zs K x (28))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (27))))) := A1.Dn K O x hD (6) (20) (6) (7) (8) (26) (27) (28) (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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (25))))) := A1.Dn K O x hD (8) (16) (8) (9) (10) (24) (25) (26) (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (4)
try rw [show (9) + (4) + 1 + (6) = 20 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 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 t15 : 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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (23))))) := A1.Dn K O x hD (10) (12) (10) (11) (12) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (11)
try rw [show (10) + (11) + 1 + (5) = 27 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (27))))) := A1.Dn K O x hD (10) (16) (10) (11) (12) (26) (27) (28) (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 (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (21))))) := A1.Dn K O x hD (12) (8) (12) (13) (14) (20) (21) (22) (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 (24)) (Zs K x (26))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (25))))) := A1.Dn K O x hD (12) (12) (12) (13) (14) (24) (25) (26) (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.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (11)
try rw [show (13) + (11) + 1 + (1) = 26 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (19))))) := A1.Dn K O x hD (14) (4) (14) (15) (16) (18) (19) (20) (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 (22)) (Zs K x (24))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (23))))) := A1.Dn K O x hD (14) (8) (14) (15) (16) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.n -- (+255 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.a -- (+240 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (2)
try rw [show (3) + (2) + 1 + (w + 13) = w + 19 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (4)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (6)
try rw [show (3) + (6) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 13) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (10)
try rw [show (3) + (10) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 + 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 t4 : 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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 26))))) := A1.Dn K O x hD (4) (w + 21) (4) (5) (6) (w + 25) (w + 26) (w + 27) (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 + 28))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 21) (5) (0)
try rw [show (5) + (0) + 1 + (w + 21) = w + 27 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 21) = w + 26 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 + 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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 24))))) := A1.Dn K O x hD (6) (w + 17) (6) (7) (8) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (6)
try rw [show (7) + (6) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 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 (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 t11 : 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 26))))) := A1.Dn K O x hD (8) (w + 17) (8) (9) (10) (w + 25) (w + 26) (w + 27) (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 17) (9) (0)
try rw [show (9) + (0) + 1 + (w + 17) = w + 27 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 17) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : 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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 24))))) := A1.Dn K O x hD (10) (w + 13) (10) (11) (12) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (2)
try rw [show (11) + (2) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 18))))) := A1.Dn K O x hD (12) (w + 5) (12) (13) (14) (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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 22))))) := A1.Dn K O x hD (12) (w + 9) (12) (13) (14) (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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 26))))) := A1.Dn K O x hD (12) (w + 13) (12) (13) (14) (w + 25) (w + 26) (w + 27) (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.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 5) (13) (0)
try rw [show (13) + (0) + 1 + (w + 5) = w + 19 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 5) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 9) (13) (0)
try rw [show (13) + (0) + 1 + (w + 9) = w + 23 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 9) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (13) (0)
try rw [show (13) + (0) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 13) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.n -- (+207 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) ( -- (+169 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 (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 (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (9)
try rw [show (5) + (9) + 1 + (2) = 17 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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 (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.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
have t13 : 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 t14 : 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 t15 : 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 t16 : 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)
have t17 : 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)
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (1)
try rw [show (13) + (1) + 1 + (2) = 17 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+139 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)) -- (+172 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (10)
try rw [show (4) + (10) + 1 + (2) = 17 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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.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
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.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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (1)
try rw [show (13) + (1) + 1 + (3) = 18 by lib_nat] at h
try rw [show (13) + (1) + 1 = 15 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (1 -- (+175 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (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 (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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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 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 (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.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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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)
have t17 : 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)
have t18 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (3)
try rw [show (11) + (3) + 1 + (4) = 19 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (18) (19) (20) (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 (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (0)
try rw [show (14) + (0) + 1 + (3) = 18 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (3) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.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 -- (+191 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x -- (+178 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (10)
try rw [show (4) + (10) + 1 + (4) = 19 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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 (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.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 t9 : 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 t10 : 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 t11 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (3)
try rw [show (11) + (3) + 1 + (5) = 20 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (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 (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (0)
try rw [show (14) + (0) + 1 + (4) = 19 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (4) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) (by lib_ring -- (+1 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs -- (+181 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 (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 (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 t2 : 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 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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (9)
try rw [show (5) + (9) + 1 + (6) = 21 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.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 (20)) (Zs K x (22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))))) := A1.Dn K O x hD (5) (15) (5) (6) (7) (20) (21) (22) (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 (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 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 (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 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)
have t14 : 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 (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (5)
try rw [show (9) + (5) + 1 + (6) = 21 by lib_nat] at h
try rw [show (9) + (5) + 1 = 15 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 t15 : 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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t17 : 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)
have t18 : 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)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (18) (19) (20) (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 (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (2)
try rw [show (13) + (2) + 1 + (5) = 21 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (21))))) := A1.Dn K O x hD (13) (7) (13) (14) (15) (20) (21) (22) (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 (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (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 _ -- (+243 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Z -- (+183 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (10)
try rw [show (4) + (10) + 1 + (6) = 21 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (8)
try rw [show (7) + (8) + 1 + (6) = 22 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.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 (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 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)
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 (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 t13 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (4)
try rw [show (11) + (4) + 1 + (6) = 22 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : 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)
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (22))))) := A1.Dn K O x hD (11) (10) (11) (12) (13) (21) (22) (23) (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 (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (20))))) := A1.Dn K O x hD (13) (6) (13) (14) (15) (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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (0)
try rw [show (14) + (0) + 1 + (6) = 21 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (6) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+101 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) -- (+185 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 (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (7)
try rw [show (4) + (7) + 1 + (6) = 18 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (20)) (Zs K x (22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))))) := A1.Dn K O x hD (5) (15) (5) (6) (7) (20) (21) (22) (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 (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (23))))) := A1.Dn K O x hD (7) (15) (7) (8) (9) (22) (23) (24) (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 (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (14)
try rw [show (7) + (14) + 1 + (1) = 23 by lib_nat] at h
try rw [show (7) + (14) + 1 = 22 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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t14 : 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)
have t15 : 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)
have t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (4)
try rw [show (11) + (4) + 1 + (7) = 23 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (18) (19) (20) (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 (22)) (Zs K x (24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (23))))) := A1.Dn K O x hD (11) (11) (11) (12) (13) (22) (23) (24) (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 (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (21))))) := A1.Dn K O x hD (13) (7) (13) (14) (15) (20) (21) (22) (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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (0)
try rw [show (14) + (0) + 1 + (7) = 22 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (7) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (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 -- (+223 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15)) -- (+187 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (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 (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))))) := A1.Dn K O x hD (7) (16) (7) (8) (9) (23) (24) (25) (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 (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (15)
try rw [show (7) + (15) + 1 + (1) = 24 by lib_nat] at h
try rw [show (7) + (15) + 1 = 23 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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (16))))) := A1.Dn K O x hD (11) (4) (11) (12) (13) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (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.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (7)
try rw [show (11) + (7) + 1 + (5) = 24 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (24))))) := A1.Dn K O x hD (11) (12) (11) (12) (13) (23) (24) (25) (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 (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (22))))) := A1.Dn K O x hD (13) (8) (13) (14) (15) (21) (22) (23) (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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (7)
try rw [show (14) + (7) + 1 + (1) = 23 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (20))))) := A1.Dn K O x hD (15) (4) (15) (16) (17) (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 -- (+201 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16 -- (+189 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (23))))) := A1.Dn K O x hD (5) (17) (5) (6) (7) (22) (23) (24) (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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (25))))) := A1.Dn K O x hD (7) (17) (7) (8) (9) (24) (25) (26) (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 (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 t11 : 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (23))))) := A1.Dn K O x hD (9) (13) (9) (10) (11) (22) (23) (24) (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.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : 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)
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (21))))) := A1.Dn K O x hD (11) (9) (11) (12) (13) (20) (21) (22) (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.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (8)
try rw [show (11) + (8) + 1 + (5) = 25 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (25))))) := A1.Dn K O x hD (11) (13) (11) (12) (13) (24) (25) (26) (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 (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (19))))) := A1.Dn K O x hD (13) (5) (13) (14) (15) (18) (19) (20) (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 (22)) (Zs K x (24))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (23))))) := A1.Dn K O x hD (13) (9) (13) (14) (15) (22) (23) (24) (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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (1)
try rw [show (14) + (1) + 1 + (2) = 18 by lib_nat] at h
try rw [show (14) + (1) + 1 = 16 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (8)
try rw [show (14) + (8) + 1 + (1) = 24 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (17))))) := A1.Dn K O x hD (15) (1) (15) (16) (17) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (21))))) := A1.Dn K O x hD (15) (5) (15) (16) (17) (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_ad -- (+251 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x ( -- (+191 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (17)
try rw [show (4) + (17) + 1 + (3) = 25 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (24))))) := A1.Dn K O x hD (5) (18) (5) (6) (7) (23) (24) (25) (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 (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.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.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (12)
try rw [show (7) + (12) + 1 + (6) = 26 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (26))))) := A1.Dn K O x hD (7) (18) (7) (8) (9) (25) (26) (27) (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 (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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (24))))) := A1.Dn K O x hD (9) (14) (9) (10) (11) (23) (24) (25) (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 (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)
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (22))))) := A1.Dn K O x hD (11) (10) (11) (12) (13) (21) (22) (23) (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.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (9)
try rw [show (11) + (9) + 1 + (5) = 26 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (26))))) := A1.Dn K O x hD (11) (14) (11) (12) (13) (25) (26) (27) (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 (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (2)
try rw [show (13) + (2) + 1 + (4) = 20 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (20))))) := A1.Dn K O x hD (13) (6) (13) (14) (15) (19) (20) (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 (23)) (Zs K x (25))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (24))))) := A1.Dn K O x hD (13) (10) (13) (14) (15) (23) (24) (25) (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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (9)
try rw [show (14) + (9) + 1 + (1) = 25 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (22))))) := A1.Dn K O x hD (15) (6) (15) (16) (17) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_ -- (+253 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x -- (+193 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (16)
try rw [show (4) + (16) + 1 + (5) = 26 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))))) := A1.Dn K O x hD (5) (15) (5) (6) (7) (20) (21) (22) (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 (24)) (Zs K x (26))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (25))))) := A1.Dn K O x hD (5) (19) (5) (6) (7) (24) (25) (26) (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 (22)) (Zs K x (24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (23))))) := A1.Dn K O x hD (7) (15) (7) (8) (9) (22) (23) (24) (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 (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (14)
try rw [show (7) + (14) + 1 + (5) = 27 by lib_nat] at h
try rw [show (7) + (14) + 1 = 22 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (27))))) := A1.Dn K O x hD (7) (19) (7) (8) (9) (26) (27) (28) (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 (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (5)
try rw [show (9) + (5) + 1 + (6) = 21 by lib_nat] at h
try rw [show (9) + (5) + 1 = 15 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 t11 : 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (25))))) := A1.Dn K O x hD (9) (15) (9) (10) (11) (24) (25) (26) (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 (18)) (Zs K x (20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (19))))) := A1.Dn K O x hD (11) (7) (11) (12) (13) (18) (19) (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 (22)) (Zs K x (24))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (23))))) := A1.Dn K O x hD (11) (11) (11) (12) (13) (22) (23) (24) (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.neg (K.add (K.mul (Zs K x (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (10)
try rw [show (11) + (10) + 1 + (5) = 27 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (27))))) := A1.Dn K O x hD (11) (15) (11) (12) (13) (26) (27) (28) (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.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (3)
try rw [show (12) + (3) + 1 + (6) = 22 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (21))))) := A1.Dn K O x hD (13) (7) (13) (14) (15) (20) (21) (22) (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 (24)) (Zs K x (26))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (25))))) := A1.Dn K O x hD (13) (11) (13) (14) (15) (24) (25) (26) (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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (10)
try rw [show (14) + (10) + 1 + (1) = 26 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))) := A1.Dn K O x hD (15) (3) (15) (16) (17) (18) (19) (20) (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 (22)) (Zs K x (24))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (23))))) := A1.Dn K O x hD (15) (7) (15) (16) (17) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.n -- (+255 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K -- (+195 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (16)
try rw [show (4) + (16) + 1 + (6) = 27 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.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 (21)) (Zs K x (23))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))))) := A1.Dn K O x hD (5) (16) (5) (6) (7) (21) (22) (23) (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 (25)) (Zs K x (27))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (26))))) := A1.Dn K O x hD (5) (20) (5) (6) (7) (25) (26) (27) (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 (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 (23)) (Zs K x (25))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))))) := A1.Dn K O x hD (7) (16) (7) (8) (9) (23) (24) (25) (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 (29))) (K.neg (K.mul (Zs K x (27)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (18)
try rw [show (7) + (18) + 1 + (2) = 28 by lib_nat] at h
try rw [show (7) + (18) + 1 = 26 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 (27)) (Zs K x (29))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (28))))) := A1.Dn K O x hD (7) (20) (7) (8) (9) (27) (28) (29) (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 (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 t11 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (9)
try rw [show (9) + (9) + 1 + (7) = 26 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (26))))) := A1.Dn K O x hD (9) (16) (9) (10) (11) (25) (26) (27) (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.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (4)
try rw [show (10) + (4) + 1 + (6) = 21 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (20))))) := A1.Dn K O x hD (11) (8) (11) (12) (13) (19) (20) (21) (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 (23)) (Zs K x (25))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (24))))) := A1.Dn K O x hD (11) (12) (11) (12) (13) (23) (24) (25) (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.neg (K.add (K.mul (Zs K x (12)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (11)
try rw [show (11) + (11) + 1 + (5) = 28 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (28))))) := A1.Dn K O x hD (11) (16) (11) (12) (13) (27) (28) (29) (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 (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (22))))) := A1.Dn K O x hD (13) (8) (13) (14) (15) (21) (22) (23) (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 (25)) (Zs K x (27))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (26))))) := A1.Dn K O x hD (13) (12) (13) (14) (15) (25) (26) (27) (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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (11)
try rw [show (14) + (11) + 1 + (1) = 27 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (20))))) := A1.Dn K O x hD (15) (4) (15) (16) (17) (19) (20) (21) (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 (23)) (Zs K x (25))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (24))))) := A1.Dn K O x hD (15) (8) (15) (16) (17) (23) (24) (25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1 -- (+257 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (K -- (+243 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (2)
try rw [show (4) + (2) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (5)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (6)
try rw [show (4) + (6) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (10)
try rw [show (4) + (10) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 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 + 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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 23))))) := A1.Dn K O x hD (5) (w + 17) (5) (6) (7) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 27))))) := A1.Dn K O x hD (5) (w + 21) (5) (6) (7) (w + 26) (w + 27) (w + 28) (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 (w + 29))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 21) (6) (0)
try rw [show (6) + (0) + 1 + (w + 21) = w + 28 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 21) = w + 27 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 + 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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 25))))) := A1.Dn K O x hD (7) (w + 17) (7) (8) (9) (w + 24) (w + 25) (w + 26) (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 + 29))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 12) (8) (7)
try rw [show (8) + (7) + 1 + (w + 12) = w + 28 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (w + 12) = w + 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 (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 27))))) := A1.Dn K O x hD (9) (w + 17) (9) (10) (11) (w + 26) (w + 27) (w + 28) (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.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (4)
try rw [show (11) + (4) + 1 + (w + 13) = w + 29 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 21))))) := A1.Dn K O x hD (11) (w + 9) (11) (12) (13) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 25))))) := A1.Dn K O x hD (11) (w + 13) (11) (12) (13) (w + 24) (w + 25) (w + 26) (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 + 28)) (Zs K x (w + 30))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 29))))) := A1.Dn K O x hD (11) (w + 17) (11) (12) (13) (w + 28) (w + 29) (w + 30) (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 + 18)) (Zs K x (w + 20))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 19))))) := A1.Dn K O x hD (13) (w + 5) (13) (14) (15) (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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 23))))) := A1.Dn K O x hD (13) (w + 9) (13) (14) (15) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 27))))) := A1.Dn K O x hD (13) (w + 13) (13) (14) (15) (w + 26) (w + 27) (w + 28) (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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 13) (14) (0)
try rw [show (14) + (0) + 1 + (w + 13) = w + 28 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (w + 13) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 21))))) := A1.Dn K O x hD (15) (w + 5) (15) (16) (17) (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 t22 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (w + 25))))) := A1.Dn K O x hD (15) (w + 9) (15) (16) (17) (w + 24) (w + 25) (w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1 -- (+209 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 + 1 + 1 + 0 + 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 (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18)))) (K.neg (K.mul (K.add (K.add (K.add (K.add -- (+267 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 + 17)) (Zs K x (a + 7)))))) := by
have h := A2.mk K O x hT (1) (a + 5) (10)
try rw [show (a + 5) + (10) + 1 + (1) = a + 17 by lib_nat] at h
try rw [show (a + 5) + (10) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 5) + (1) = a + 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 (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 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 + 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 + 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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (8) (a + 8) (1)
try rw [show (a + 8) + (1) + 1 + (8) = a + 18 by lib_nat] at h
try rw [show (a + 8) + (1) + 1 = a + 10 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 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 + 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 t15 : 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
have t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 12) (1) (a + 12) (a + 13) (a + 14) (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 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (0)
try rw [show (a + 13) + (0) + 1 + (3) = a + 17 by lib_nat] at h
try rw [show (a + 13) + (0) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (1) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (1) = a + 17 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (1) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+139 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 + 1 + 1 + (0 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19)))) (K.neg (K.mul (K.add (K.add (K.add (K.ad -- (+270 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 + 7)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (10) (a + 5) (0)
try rw [show (a + 5) + (0) + 1 + (10) = a + 16 by lib_nat] at h
try rw [show (a + 5) + (0) + 1 = a + 6 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 + 11))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (3) (a + 5) (1)
try rw [show (a + 5) + (1) + 1 + (3) = a + 10 by lib_nat] at h
try rw [show (a + 5) + (1) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 5) + (3) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (7) (a + 5) (1)
try rw [show (a + 5) + (1) + 1 + (7) = a + 14 by lib_nat] at h
try rw [show (a + 5) + (1) + 1 = a + 7 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 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 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.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (2) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.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.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.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
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (4) (a + 13) (0)
try rw [show (a + 13) + (0) + 1 + (4) = a + 18 by lib_nat] at h
try rw [show (a + 13) + (0) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 13) + (4) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (2) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (2) = a + 18 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (2) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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 + 1 + 1 + (0 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20)))) (K.neg (K.mul (K.add (K.add (K.add (K -- (+273 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 + 8)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (8) (a + 5) (1)
try rw [show (a + 5) + (1) + 1 + (8) = a + 15 by lib_nat] at h
try rw [show (a + 5) + (1) + 1 = a + 7 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 + 20))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (11) = a + 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) + (11) = a + 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 (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 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 + 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.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (11) = a + 19 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 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 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 + 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 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 + 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 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 + 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 t11 : 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 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 + 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 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 + 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 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 + 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 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 + 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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 12) (1) (a + 12) (a + 13) (a + 14) (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 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (4) (a + 12) (3)
try rw [show (a + 12) + (3) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 12) + (3) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 12) + (4) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (3) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (3) = a + 19 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (3) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.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 -- (+191 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 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21)))) (K.neg (K.mul (K.add (K.add (K.add -- (+276 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 + 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 t2 : 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 + 10)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (3)
try rw [show (a + 5) + (3) + 1 + (11) = a + 20 by lib_nat] at h
try rw [show (a + 5) + (3) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 5) + (11) = a + 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 (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.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 + 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.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (4) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (4) = a + 12 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 7) + (4) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (12) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (12) = a + 20 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 7) + (12) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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.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 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 + 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 t11 : 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 t12 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (4) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (4) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (4) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (4) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K 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) (by lib_ring -- (+1 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22)))) (K.neg (K.mul (K.add (K.add (K.ad -- (+278 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 + 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 t2 : 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 + 11)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (4)
try rw [show (a + 5) + (4) + 1 + (11) = a + 21 by lib_nat] at h
try rw [show (a + 5) + (4) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 5) + (11) = a + 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 (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 + 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 + 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (5) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (5) = a + 13 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 7) + (5) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (13) = a + 21 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (4)
try rw [show (a + 9) + (4) + 1 + (7) = a + 21 by lib_nat] at h
try rw [show (a + 9) + (4) + 1 = a + 14 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 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)
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 + 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 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 12) (1) (a + 12) (a + 13) (a + 14) (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 + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 + 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)
have t17 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (5) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (5) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 16) (1) (a + 16) (a + 17) (a + 18) (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 _ -- (+195 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23)))) (K.neg (K.mul (K.add (K.add (K. -- (+280 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 + 6)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (10) (a + 5) (4)
try rw [show (a + 5) + (4) + 1 + (10) = a + 20 by lib_nat] at h
try rw [show (a + 5) + (4) + 1 = a + 10 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 t3 : 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 + 22)) (Zs K x (a + 7)))))) := by
have h := A2.mk K O x hT (1) (a + 5) (15)
try rw [show (a + 5) + (15) + 1 + (1) = a + 22 by lib_nat] at h
try rw [show (a + 5) + (15) + 1 = a + 21 by lib_nat] at h
try rw [show (a + 5) + (1) = a + 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 (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 + 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.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (10) (a + 7) (4)
try rw [show (a + 7) + (4) + 1 + (10) = a + 22 by lib_nat] at h
try rw [show (a + 7) + (4) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 7) + (10) = a + 17 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 + 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 + 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 + 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 t10 : 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 + 11)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (4) (a + 9) (0)
try rw [show (a + 9) + (0) + 1 + (4) = a + 14 by lib_nat] at h
try rw [show (a + 9) + (0) + 1 = a + 10 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 t11 : 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 + 11)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (12) (a + 9) (0)
try rw [show (a + 9) + (0) + 1 + (12) = a + 22 by lib_nat] at h
try rw [show (a + 9) + (0) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 9) + (12) = a + 21 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 (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.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (4)
try rw [show (a + 11) + (4) + 1 + (6) = a + 22 by lib_nat] at h
try rw [show (a + 11) + (4) + 1 = a + 16 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
have t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t15 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (6) (a + 14) (2)
try rw [show (a + 14) + (2) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 14) + (2) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 14) + (6) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 16) (4) (a + 16) (a + 17) (a + 18) (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 O -- (+101 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24)))) (K.neg (K.mul (K.add (K.add ( -- (+282 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 + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (8) (a + 5) (5)
try rw [show (a + 5) + (5) + 1 + (8) = a + 19 by lib_nat] at h
try rw [show (a + 5) + (5) + 1 = a + 11 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 + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (11) = a + 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) + (11) = a + 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 (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 + 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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 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 + 22))))) := A1.Dn K O x hD (a + 6) (15) (a + 6) (a + 7) (a + 8) (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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (15) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (15) = a + 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) + (15) = a + 22 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 + 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.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 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 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 + 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 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 + 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 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 + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t13 : 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 + 13)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (11) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (11) = a + 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) + (11) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 12) (1) (a + 12) (a + 13) (a + 14) (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 + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 12) (3) (a + 12) (a + 13) (a + 14) (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 + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (6) (a + 13) (3)
try rw [show (a + 13) + (3) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 13) + (3) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 13) + (6) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 + 21)) (Zs K x (a + 23))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 14) (7) (a + 14) (a + 15) (a + 16) (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 t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (7) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (7) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 16) (3) (a + 16) (a + 17) (a + 18) (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 -- (+199 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25)))) (K.neg (K.mul (K.add (K.add -- (+284 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.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (12) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (12) = a + 24 by lib_nat] at h
try rw [show (a + 5) + (6) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 5) + (12) = a + 17 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 + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have 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 + 9)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (7)
try rw [show (a + 8) + (7) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 8) + (7) + 1 = a + 16 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 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 + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 8) (16) (a + 8) (a + 9) (a + 10) (a + 24) (a + 25) (a + 26) (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 + 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 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 + 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t13 : 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 t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (12) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (12) = a + 24 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (12) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (8) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (8) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (4) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (4) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t20 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (8) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (8) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+153 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26)))) (K.neg (K.mul (K.add (K.a -- (+286 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.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (8)
try rw [show (a + 5) + (8) + 1 + (11) = a + 25 by lib_nat] at h
try rw [show (a + 5) + (8) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 5) + (11) = a + 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 (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.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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 6) (17) (a + 6) (a + 7) (a + 8) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (10) (a + 8) (7)
try rw [show (a + 8) + (7) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 8) + (7) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 8) + (10) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 + 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 8) (17) (a + 8) (a + 9) (a + 10) (a + 25) (a + 26) (a + 27) (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 + 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 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 + 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 10) (13) (a + 10) (a + 11) (a + 12) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have 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 + 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)
have t14 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (9) (a + 12) (4)
try rw [show (a + 12) + (4) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 12) + (4) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 12) + (9) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 12) (9) (a + 12) (a + 13) (a + 14) (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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 12) (13) (a + 12) (a + 13) (a + 14) (a + 25) (a + 26) (a + 27) (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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 14) (1) (a + 14) (a + 15) (a + 16) (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 + 19)) (Zs K x (a + 21))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 14) (5) (a + 14) (a + 15) (a + 16) (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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 14) (9) (a + 14) (a + 15) (a + 16) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (1) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (1) = a + 17 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (1) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (9) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (9) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 17))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 16) (5) (a + 16) (a + 17) (a + 18) (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_ad -- (+203 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27)))) (K.neg (K.mul (K.add (K -- (+288 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 + 7)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (10) (a + 5) (0)
try rw [show (a + 5) + (0) + 1 + (10) = a + 16 by lib_nat] at h
try rw [show (a + 5) + (0) + 1 = a + 6 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 + 21))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (10) (a + 5) (4)
try rw [show (a + 5) + (4) + 1 + (10) = a + 20 by lib_nat] at h
try rw [show (a + 5) + (4) + 1 = a + 10 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.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (10) (a + 5) (8)
try rw [show (a + 5) + (8) + 1 + (10) = a + 24 by lib_nat] at h
try rw [show (a + 5) + (8) + 1 = a + 14 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (9)
try rw [show (a + 6) + (9) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 6) + (9) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 6) (20) (a + 6) (a + 7) (a + 8) (a + 26) (a + 27) (a + 28) (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 + 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 + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 8) (16) (a + 8) (a + 9) (a + 10) (a + 24) (a + 25) (a + 26) (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 + 11)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (11) (a + 10) (5)
try rw [show (a + 10) + (5) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 10) + (5) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 10) + (11) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 + 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 10) (16) (a + 10) (a + 11) (a + 12) (a + 26) (a + 27) (a + 28) (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 + 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)
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 12) (12) (a + 12) (a + 13) (a + 14) (a + 24) (a + 25) (a + 26) (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.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (12) (a + 13) (0)
try rw [show (a + 13) + (0) + 1 + (12) = a + 26 by lib_nat] at h
try rw [show (a + 13) + (0) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 13) + (12) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t20 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (4) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (4) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (8) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (8) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (10) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (10) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_ -- (+205 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28)))) (K.neg (K.mul (K.add -- (+290 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 + 20))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (11) = a + 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) + (11) = 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 + 6)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (11) = a + 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) + (11) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (11) (a + 5) (10)
try rw [show (a + 5) + (10) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 5) + (10) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 5) + (11) = a + 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 (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.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 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 + 22))))) := A1.Dn K O x hD (a + 6) (15) (a + 6) (a + 7) (a + 8) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 6) (19) (a + 6) (a + 7) (a + 8) (a + 25) (a + 26) (a + 27) (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 + 8)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (19) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (19) = a + 27 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 7) + (19) = a + 26 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 + 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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 8) (15) (a + 8) (a + 9) (a + 10) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (11) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 9) + (11) = 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 + 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 10) (15) (a + 10) (a + 11) (a + 12) (a + 25) (a + 26) (a + 27) (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.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (15) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (15) = a + 27 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (15) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 12) (7) (a + 12) (a + 13) (a + 14) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (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 + 24))))) := A1.Dn K O x hD (a + 12) (11) (a + 12) (a + 13) (a + 14) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (11) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (11) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 14) (3) (a + 14) (a + 15) (a + 16) (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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 14) (7) (a + 14) (a + 15) (a + 16) (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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 26))))) := A1.Dn K O x hD (a + 14) (11) (a + 14) (a + 15) (a + 16) (a + 25) (a + 26) (a + 27) (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.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (3) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (3) = a + 19 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (3) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (7) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (7) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (11) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (11) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.n -- (+207 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29)))) (K.neg (K.mul (K.ad -- (+292 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 + 21))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (12) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (12) = a + 20 by lib_nat] at h
try rw [show (a + 5) + (2) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 5) + (12) = 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 + 6)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (12) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (12) = a + 24 by lib_nat] at h
try rw [show (a + 5) + (6) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 5) + (12) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (12) (a + 5) (10)
try rw [show (a + 5) + (10) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 5) + (10) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 5) + (12) = a + 17 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 + 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.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (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 + 23))))) := A1.Dn K O x hD (a + 6) (16) (a + 6) (a + 7) (a + 8) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 6) (20) (a + 6) (a + 7) (a + 8) (a + 26) (a + 27) (a + 28) (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 + 8)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (20) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (20) = a + 28 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 7) + (20) = a + 27 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 + 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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 8) (16) (a + 8) (a + 9) (a + 10) (a + 24) (a + 25) (a + 26) (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 + 10)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (12) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 9) + (12) = 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 + 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (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 + 27))))) := A1.Dn K O x hD (a + 10) (16) (a + 10) (a + 11) (a + 12) (a + 26) (a + 27) (a + 28) (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.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (16) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (16) = a + 28 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (16) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 12) (8) (a + 12) (a + 13) (a + 14) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (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 + 25))))) := A1.Dn K O x hD (a + 12) (12) (a + 12) (a + 13) (a + 14) (a + 24) (a + 25) (a + 26) (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.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (12) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (12) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 14) (4) (a + 14) (a + 15) (a + 16) (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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 14) (8) (a + 14) (a + 15) (a + 16) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 27))))) := A1.Dn K O x hD (a + 14) (12) (a + 14) (a + 15) (a + 16) (a + 26) (a + 27) (a + 28) (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.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (4) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (4) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (8) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (8) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (12) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (12) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1 -- (+209 chars; full line in the Zenodo source)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 + 14))) (Zs K x (a + 16))) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 22))) (Zs K x (a + w + 24))) (Zs K x (a + w + 26))) (Zs K x (a + w + 28))) (Zs K x (a + w + 30 -- (+340 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 + 22))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (w + 13) = a + w + 21 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 + 13) = a + 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 (a + 6)) (Zs K x (a + w + 26))) (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 + 13) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (w + 13) = a + w + 25 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 + 13) = a + w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 5) (10)
try rw [show (a + 5) + (10) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 5) + (10) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 5) + (w + 13) = a + w + 18 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 + 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) (b -- (+10 chars; full line in the Zenodo source)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 6) (w + 17) (a + 6) (a + 7) (a + 8) (a + w + 23) (a + w + 24) (a + w + 25) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 6) (w + 21) (a + 6) (a + 7) (a + 8) (a + w + 27) (a + w + 28) (a + w + 29) (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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 29)))))) := by
have h := A2.mk K O x hT (w + 21) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (w + 21) = a + w + 29 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 + 21) = a + w + 28 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 + 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) -- (+12 chars; full line in the Zenodo source)
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + 26))))) := A1.Dn K O x hD (a + 8) (w + 17) (a + 8) (a + 9) (a + 10) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) -- (+12 chars; full line in the Zenodo source)
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 9) (6)
try rw [show (a + 9) + (6) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 9) + (6) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 9) + (w + 13) = a + w + 22 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 + 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_ -- (+17 chars; full line in the Zenodo source)
have t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 10) (w + 13) (a + 10) (a + 11) (a + 12) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (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 + 28))))) := A1.Dn K O x hD (a + 10) (w + 17) (a + 10) (a + 11) (a + 12) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t13 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 29)))))) := by
have h := A2.mk K O x hT (w + 17) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (w + 17) = a + w + 29 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 + 17) = a + w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t14 : 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 + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 12) (w + 9) (a + 12) (a + 13) (a + 14) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (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 + w + 26))))) := A1.Dn K O x hD (a + 12) (w + 13) (a + 12) (a + 13) (a + 14) (a + w + 25) (a + w + 26) (a + w + 27) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t16 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (w + 13) = a + w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t17 : 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 + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 14) (w + 5) (a + 14) (a + 15) (a + 16) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 14) (w + 9) (a + 14) (a + 15) (a + 16) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + w + 28))))) := A1.Dn K O x hD (a + 14) (w + 13) (a + 14) (a + 15) (a + 16) (a + w + 27) (a + w + 28) (a + w + 29) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+18 chars; full line in the Zenodo source)
have t20 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 21)))))) := by
have h := A2.mk K O x hT (w + 5) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (w + 5) = a + w + 21 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (w + 5) = a + w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t21 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 25)))))) := by
have h := A2.mk K O x hT (w + 9) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (w + 9) = a + w + 25 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (w + 9) = a + w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t22 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 29)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (w + 13) = a + w + 29 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (w + 13) = a + w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1 -- (+209 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 (Zs K (pv2 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 (5)) (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))
exact A1.nn_of_eq K 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 (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 (8))) (K.neg (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (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 (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))
have t2 : 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 _ _ 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 (Zs K x (11))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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 (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (7))))) := A1.Dn K O x hD (4) (2) (4) (5) (6) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))))) := A1.Dn K O x hD (4) (4) (4) (5) (6) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))))) := A1.Dn K O x hD (5) (2) (5) (6) (7) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (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 (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))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (Zs K x (13))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (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 (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 (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 (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.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (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 (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))
have t2 : 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 _ _ (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 (Zs K x (15))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (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 (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 (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 (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.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (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))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (4)) (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 K.zero (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (5))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (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 (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 (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.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 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.zero (Zs K x (w + 18))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (5))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 12))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 14))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 16))
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 (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)
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (K.add (K.add (Zs K x (3)) (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 (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (1)
try rw [show (0) + (1) + 1 + (5) = 7 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (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 (5)) (Zs K x (9))) (K.neg (K.mul (K.add (K.add (Zs K x (4)) (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 (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 (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (4)
try rw [show (0) + (4) + 1 + (5) = 10 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (5)) (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (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 (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 (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 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (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 (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (4)
try rw [show (0) + (4) + 1 + (5) = 10 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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.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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (5)) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (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 (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.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 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.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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.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 (5)) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (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 (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.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 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.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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.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 (5)) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (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 (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.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 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.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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (1)) (hx (14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (5)) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (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 (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 (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 t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (1)) (hx (15))
exact A1.nn_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 (5)) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (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 (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (11)
try rw [show (0) + (11) + 1 + (5) = 17 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
exact A1.nn_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 (5)) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (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 (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (12)
try rw [show (0) + (12) + 1 + (5) = 18 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (1)) (hx (17))
exact A1.nn_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 (5)) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (11)
try rw [show (0) + (11) + 1 + (5) = 17 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (13)
try rw [show (0) + (13) + 1 + (5) = 19 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (1)) (hx (18))
exact A1.nn_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 + (w + 1 + 1 + 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 + 19))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (6))))))
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 (6)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (0)
try rw [show (4) + (0) + 1 + (w + 13) = w + 18 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 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 + 14))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 13))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 15))
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 (4)) (Zs K x (6))) (Zs K x (8))) (K.neg (K.mul (K.add (K.add (Zs K x (3)) (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 (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))) (K.neg (K.mul (K.add (K.add (Zs K x (4)) (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 (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (1)
try rw [show (1) + (1) + 1 + (5) = 8 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (1)
try rw [show (3) + (1) + 1 + (3) = 8 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (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 (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (3)
try rw [show (0) + (3) + 1 + (6) = 10 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 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 (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (2)
try rw [show (3) + (2) + 1 + (3) = 9 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
exact A1.nn_of_eq K O _ _ (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 (4)) (Zs K x (6))) (Zs K x (11))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (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 (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (3)
try rw [show (1) + (3) + 1 + (5) = 10 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (2)
try rw [show (3) + (2) + 1 + (4) = 10 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (4)) (Zs K x (6))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (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 (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (5)
try rw [show (0) + (5) + 1 + (6) = 12 by lib_nat] at h
try rw [show (0) + (5) + 1 = 6 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 (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 (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 t4 : 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 _ _ (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 (4)) (Zs K x (6))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (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 (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (1)
try rw [show (4) + (1) + 1 + (3) = 9 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t3 : 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 _ _ 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 (4)) (Zs K x (6))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (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 (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 _ _ (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 (4)) (Zs K x (6))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (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 (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 t4 : 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 _ _ (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 (4)) (Zs K x (6))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (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 (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (9)
try rw [show (0) + (9) + 1 + (6) = 16 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 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 (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 (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 t4 : 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 _ _ (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 (4)) (Zs K x (6))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (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 (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
exact A1.nn_of_eq K O _ _ (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 (4)) (Zs K x (6))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (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 (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (11)
try rw [show (0) + (11) + 1 + (6) = 18 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 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 (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (0)) (hx (18))
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 (4)) (Zs K x (6))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (12)
try rw [show (0) + (12) + 1 + (6) = 19 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (19)
try rw [show (0) + (19) + 1 + (1) = 21 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 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 (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (11)
try rw [show (3) + (11) + 1 + (3) = 18 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.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 + 1) + 1 = w + 15 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 + 20))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (2)
try rw [show (3) + (2) + 1 + (w + 13) = w + 19 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (0)
try rw [show (5) + (0) + 1 + (w + 13) = w + 19 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 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 (7)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (4)) (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 (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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)
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))) (Zs K x (10))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (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 (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (1)
try rw [show (2) + (1) + 1 + (5) = 9 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (1)
try rw [show (4) + (1) + 1 + (3) = 9 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (11))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (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 (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 (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (2)
try rw [show (4) + (2) + 1 + (3) = 10 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ 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))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (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 (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 (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (2)
try rw [show (4) + (2) + 1 + (4) = 11 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ 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))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (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 (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (4)
try rw [show (2) + (4) + 1 + (6) = 13 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (2)
try rw [show (4) + (2) + 1 + (6) = 13 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (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 (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (7)
try rw [show (2) + (7) + 1 + (5) = 15 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (7)
try rw [show (4) + (7) + 1 + (3) = 15 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (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 (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (8)
try rw [show (2) + (8) + 1 + (5) = 16 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (8)
try rw [show (4) + (8) + 1 + (3) = 16 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (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 (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (9)
try rw [show (2) + (9) + 1 + (5) = 17 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (9)
try rw [show (4) + (9) + 1 + (3) = 17 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (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 (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (10)
try rw [show (2) + (10) + 1 + (5) = 18 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (11)
try rw [show (2) + (11) + 1 + (5) = 19 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = 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))) (Zs K x (w + 21))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 13) (2) (4)
try rw [show (2) + (4) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (w + 13) = 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 + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (2)
try rw [show (4) + (2) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 13) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (0)
try rw [show (6) + (0) + 1 + (w + 13) = w + 20 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 13) = 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 _ _ 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 (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 (Zs K x (5)) (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 (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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)
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))) (Zs K x (11))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (1)
try rw [show (5) + (1) + 1 + (3) = 10 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (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 (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 (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (2)
try rw [show (5) + (2) + 1 + (3) = 11 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ 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))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (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 (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 (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (2)
try rw [show (5) + (2) + 1 + (4) = 12 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ 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))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (2)
try rw [show (5) + (2) + 1 + (6) = 14 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (7)
try rw [show (5) + (7) + 1 + (3) = 16 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (9)
try rw [show (5) + (9) + 1 + (3) = 18 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (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 (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (11)
try rw [show (3) + (11) + 1 + (5) = 20 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (w + 22))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (4)
try rw [show (3) + (4) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 13) = 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 (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (2)
try rw [show (5) + (2) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 13) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (0)
try rw [show (7) + (0) + 1 + (w + 13) = w + 21 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 13) = 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 _ _ 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 (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 (Zs K x (6)) (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 (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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)
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))) (Zs K x (12))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (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 (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (1)
try rw [show (4) + (1) + 1 + (5) = 11 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (1)
try rw [show (6) + (1) + 1 + (3) = 11 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (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 (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 (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (2)
try rw [show (6) + (2) + 1 + (3) = 12 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ 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))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (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 (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 (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (2)
try rw [show (6) + (2) + 1 + (4) = 13 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ 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))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (2)
try rw [show (6) + (2) + 1 + (5) = 14 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (2)
try rw [show (6) + (2) + 1 + (6) = 15 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (2)
try rw [show (6) + (2) + 1 + (7) = 16 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (7)
try rw [show (6) + (7) + 1 + (3) = 17 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (8)
try rw [show (6) + (8) + 1 + (3) = 18 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (9)
try rw [show (6) + (9) + 1 + (3) = 19 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (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 (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (11)
try rw [show (4) + (11) + 1 + (5) = 21 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (11)
try rw [show (6) + (11) + 1 + (3) = 21 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (w + 23))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 13) (4) (4)
try rw [show (4) + (4) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 13) = 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 (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (2)
try rw [show (6) + (2) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 13) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (0)
try rw [show (8) + (0) + 1 + (w + 13) = w + 22 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (7)) (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 (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))))) := A1.Dn K O x hD (8) (3) (8) (9) (10) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
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))) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (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 (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (1)
try rw [show (5) + (1) + 1 + (5) = 12 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (1)
try rw [show (7) + (1) + 1 + (3) = 12 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (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 (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 (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (2)
try rw [show (7) + (2) + 1 + (3) = 13 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ 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))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (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 (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 (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (2)
try rw [show (7) + (2) + 1 + (4) = 14 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ 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))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (2)
try rw [show (7) + (2) + 1 + (6) = 16 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (2)
try rw [show (7) + (2) + 1 + (7) = 17 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (7)
try rw [show (7) + (7) + 1 + (3) = 18 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (8)
try rw [show (7) + (8) + 1 + (3) = 19 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (9)
try rw [show (7) + (9) + 1 + (3) = 20 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 _ _ (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))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (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 (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (10)
try rw [show (7) + (10) + 1 + (3) = 21 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (11)
try rw [show (5) + (11) + 1 + (5) = 22 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (11)
try rw [show (7) + (11) + 1 + (3) = 22 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (w + 24))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 13) (5) (4)
try rw [show (5) + (4) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 13) = 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 (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (2)
try rw [show (7) + (2) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 13) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (0)
try rw [show (9) + (0) + 1 + (w + 13) = w + 23 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 13) = 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 _ _ 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 (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 (Zs K x (8)) (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 (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))))) := A1.Dn K O x hD (9) (3) (9) (10) (11) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (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 (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (1)
try rw [show (6) + (1) + 1 + (5) = 13 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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
have t2 : 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 _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (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 (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 (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 t2 : 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 _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (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 (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 (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 t2 : 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 _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (2)
try rw [show (8) + (2) + 1 + (5) = 16 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (2)
try rw [show (8) + (2) + 1 + (6) = 17 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (2)
try rw [show (8) + (2) + 1 + (7) = 18 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (7)
try rw [show (8) + (7) + 1 + (3) = 19 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (8)
try rw [show (8) + (8) + 1 + (3) = 20 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (9)
try rw [show (8) + (9) + 1 + (3) = 21 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (Zs K x (18)) (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 (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (10)
try rw [show (6) + (10) + 1 + (5) = 22 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (10)
try rw [show (8) + (10) + 1 + (3) = 22 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (11)
try rw [show (6) + (11) + 1 + (5) = 23 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (11)
try rw [show (8) + (11) + 1 + (3) = 23 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (w + 25))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 13) (6) (4)
try rw [show (6) + (4) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 13) = 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 (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (2)
try rw [show (8) + (2) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (0)
try rw [show (10) + (0) + 1 + (w + 13) = w + 24 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (9)) (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 (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (1)
try rw [show (10) + (1) + 1 + (2) = 14 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (15))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (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 (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (0)
try rw [show (11) + (0) + 1 + (2) = 14 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (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 (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 (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (2)
try rw [show (9) + (2) + 1 + (3) = 15 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (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 (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 (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (2)
try rw [show (9) + (2) + 1 + (6) = 18 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (0)
try rw [show (11) + (0) + 1 + (6) = 18 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (2)
try rw [show (9) + (2) + 1 + (7) = 19 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (0)
try rw [show (11) + (0) + 1 + (7) = 19 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (7)
try rw [show (9) + (7) + 1 + (3) = 20 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (7)
try rw [show (11) + (7) + 1 + (1) = 20 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (8)
try rw [show (9) + (8) + 1 + (3) = 21 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (8)
try rw [show (11) + (8) + 1 + (1) = 21 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (9)
try rw [show (9) + (9) + 1 + (3) = 22 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (9)
try rw [show (11) + (9) + 1 + (1) = 22 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (10)
try rw [show (7) + (10) + 1 + (5) = 23 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (10)
try rw [show (9) + (10) + 1 + (3) = 23 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (10)
try rw [show (11) + (10) + 1 + (1) = 23 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (11)
try rw [show (7) + (11) + 1 + (5) = 24 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (11)
try rw [show (9) + (11) + 1 + (3) = 24 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (11)
try rw [show (11) + (11) + 1 + (1) = 24 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (w + 26))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 13) (7) (4)
try rw [show (7) + (4) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 13) = 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 (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (2)
try rw [show (9) + (2) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (0)
try rw [show (11) + (0) + 1 + (w + 13) = w + 25 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (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 (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ 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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (14))))))
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
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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (0)
try rw [show (12) + (0) + 1 + (2) = 15 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (14))))))
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 (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (2)
try rw [show (10) + (2) + 1 + (3) = 16 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (0)
try rw [show (12) + (0) + 1 + (3) = 16 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (14))))))
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 (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (0)
try rw [show (12) + (0) + 1 + (4) = 17 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (14))))))
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 (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (4)
try rw [show (8) + (4) + 1 + (5) = 18 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (0)
try rw [show (12) + (0) + 1 + (5) = 18 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (14))))))
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 (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (4)
try rw [show (8) + (4) + 1 + (6) = 19 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (2)
try rw [show (10) + (2) + 1 + (6) = 19 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (0)
try rw [show (12) + (0) + 1 + (6) = 19 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (14))))))
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 (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (4)
try rw [show (8) + (4) + 1 + (7) = 20 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 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 (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (2)
try rw [show (10) + (2) + 1 + (7) = 20 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (0)
try rw [show (12) + (0) + 1 + (7) = 20 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (14))))))
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 (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (7)
try rw [show (8) + (7) + 1 + (5) = 21 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 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 (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (7)
try rw [show (10) + (7) + 1 + (3) = 21 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (7)
try rw [show (12) + (7) + 1 + (1) = 21 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (14))))))
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 (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (8)
try rw [show (8) + (8) + 1 + (5) = 22 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 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 (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (8)
try rw [show (10) + (8) + 1 + (3) = 22 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (8)
try rw [show (12) + (8) + 1 + (1) = 22 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (9)
try rw [show (8) + (9) + 1 + (5) = 23 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 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 (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (9)
try rw [show (10) + (9) + 1 + (3) = 23 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (9)
try rw [show (12) + (9) + 1 + (1) = 23 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (10)
try rw [show (8) + (10) + 1 + (5) = 24 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 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 (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (10)
try rw [show (10) + (10) + 1 + (3) = 24 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (10)
try rw [show (12) + (10) + 1 + (1) = 24 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (11)
try rw [show (8) + (11) + 1 + (5) = 25 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 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 (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (11)
try rw [show (10) + (11) + 1 + (3) = 25 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (11)
try rw [show (12) + (11) + 1 + (1) = 25 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (w + 27))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 13) (8) (4)
try rw [show (8) + (4) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 13) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (10) (2)
try rw [show (10) + (2) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 13) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (12) (0)
try rw [show (12) + (0) + 1 + (w + 13) = w + 26 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 13) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (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 (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (17))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (15))))))
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
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (0)
try rw [show (13) + (0) + 1 + (2) = 16 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (2)
try rw [show (11) + (2) + 1 + (3) = 17 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (0)
try rw [show (13) + (0) + 1 + (3) = 17 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (15))))))
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 (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (0)
try rw [show (13) + (0) + 1 + (4) = 18 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (20))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (15))))))
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 (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (4)
try rw [show (9) + (4) + 1 + (5) = 19 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (0)
try rw [show (13) + (0) + 1 + (5) = 19 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (15))))))
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 (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (4)
try rw [show (9) + (4) + 1 + (6) = 20 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (2)
try rw [show (11) + (2) + 1 + (6) = 20 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (0)
try rw [show (13) + (0) + 1 + (6) = 20 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (15))))))
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 (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (4)
try rw [show (9) + (4) + 1 + (7) = 21 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (2)
try rw [show (11) + (2) + 1 + (7) = 21 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (0)
try rw [show (13) + (0) + 1 + (7) = 21 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (23))) (K.neg (K.mul (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (7)
try rw [show (9) + (7) + 1 + (5) = 22 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (7)
try rw [show (11) + (7) + 1 + (3) = 22 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (7)
try rw [show (13) + (7) + 1 + (1) = 22 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (24))) (K.neg (K.mul (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (8)
try rw [show (9) + (8) + 1 + (5) = 23 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (8)
try rw [show (11) + (8) + 1 + (3) = 23 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (8)
try rw [show (13) + (8) + 1 + (1) = 23 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (25))) (K.neg (K.mul (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (9)
try rw [show (9) + (9) + 1 + (5) = 24 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (9)
try rw [show (11) + (9) + 1 + (3) = 24 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (9)
try rw [show (13) + (9) + 1 + (1) = 24 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (26))) (K.neg (K.mul (K.add (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (10)
try rw [show (9) + (10) + 1 + (5) = 25 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (10)
try rw [show (11) + (10) + 1 + (3) = 25 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (10)
try rw [show (13) + (10) + 1 + (1) = 25 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (27))) (K.neg (K.mul (K.add (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (26))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (11)
try rw [show (9) + (11) + 1 + (5) = 26 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (11)
try rw [show (11) + (11) + 1 + (3) = 26 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (11)
try rw [show (13) + (11) + 1 + (1) = 26 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (w + 28))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 13) (9) (4)
try rw [show (9) + (4) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 13) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 13) (11) (2)
try rw [show (11) + (2) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 13) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 13) (13) (0)
try rw [show (13) + (0) + 1 + (w + 13) = w + 27 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 13) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (5) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (5) = a + 16 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (5) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (3) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (3) = a + 16 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (3) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (1) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (1) = a + 16 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (1) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 18))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 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
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (3) (a + 12) (1)
try rw [show (a + 12) + (1) + 1 + (3) = a + 17 by lib_nat] at h
try rw [show (a + 12) + (1) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 12) + (3) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (2) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (2) = a + 17 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (2) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 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 + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 19))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (5) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (5) = a + 18 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (5) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (3) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (3) = a + 18 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (3) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (3) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (3) = a + 18 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (3) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 20))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (5) (a + 10) (3)
try rw [show (a + 10) + (3) + 1 + (5) = a + 19 by lib_nat] at h
try rw [show (a + 10) + (3) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 10) + (5) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (4) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (4) = a + 19 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (4) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (4) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (4) = a + 19 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (4) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 21))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (5) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (5) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (5) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 22))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (6) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (6) = a + 21 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (6) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (6) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (6) = a + 21 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (6) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (6) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (6) = a + 21 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (6) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 23))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (7) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (7) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (7) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 24))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (8) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (8) = a + 23 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (8) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (8) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (8) = a + 23 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (8) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (8) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (8) = a + 23 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (8) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 25))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (9) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (9) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (9) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (9) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (9) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 26))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (10) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (10) = a + 25 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (10) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (10) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (10) = a + 25 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (10) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (10) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (10) = a + 25 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (10) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 27))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (11) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (11) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (11) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (11) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (11) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (11) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 28))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (12) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (12) = a + 27 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (12) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (12) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (12) = a + 27 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (12) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (12) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (12) = a + 27 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (12) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + w + 29))) (K.neg (K.mul (K.add (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + w + 28))) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + w + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 24)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 10) (4)
try rw [show (a + 10) + (4) + 1 + (w + 13) = a + w + 28 by lib_nat] at h
try rw [show (a + 10) + (4) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 10) + (w + 13) = a + w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 26)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 12) (2)
try rw [show (a + 12) + (2) + 1 + (w + 13) = a + w + 28 by lib_nat] at h
try rw [show (a + 12) + (2) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 12) + (w + 13) = a + w + 25 by lib_nat] at h
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 + 15)) (Zs K x (a + w + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 28)))))) := by
have h := A2.mk K O x hT (w + 13) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (w + 13) = a + w + 28 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (w + 13) = a + w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (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 + 5)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (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.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (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.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (5)) (Zs K x (7))) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (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.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (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.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (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 (13))) (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.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (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 (14))) (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.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (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 (15))) (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.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ 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 (16))) (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.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ 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 (17))) (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.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (5)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (18))) (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.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (5)) (hx (14))
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 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 19))) (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.mul (Zs K x (6)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 13))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 15))
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 (8))) (K.neg (K.mul (K.add (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 (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.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 (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 (4)) (Zs K x (6))) (Zs K x (7))))))
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
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 (5)) (Zs K x (7))) (Zs K x (7))))))
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 (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (2)
try rw [show (3) + (2) + 1 + (3) = 9 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (11))) (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 (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (3)
try rw [show (1) + (3) + 1 + (5) = 10 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (2)
try rw [show (3) + (2) + 1 + (4) = 10 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12))) (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 (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (5)
try rw [show (0) + (5) + 1 + (6) = 12 by lib_nat] at h
try rw [show (0) + (5) + 1 = 6 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 (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 (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (8)) (Zs K x (10))) (Zs K x (7))))))
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 (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 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 (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (2)
try rw [show (3) + (2) + 1 + (6) = 12 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (9)) (Zs K x (11))) (Zs K x (7))))))
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 (9)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (7)
try rw [show (0) + (7) + 1 + (6) = 14 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (14)
try rw [show (0) + (14) + 1 + (1) = 16 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 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 (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (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 (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (7)
try rw [show (3) + (7) + 1 + (3) = 14 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (11)) (Zs K x (13))) (Zs K x (7))))))
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 (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (9)
try rw [show (0) + (9) + 1 + (6) = 16 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 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 (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 (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (8)
try rw [show (3) + (8) + 1 + (3) = 15 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (17))) (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 (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (10)
try rw [show (0) + (10) + 1 + (6) = 17 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (19))))) := A1.Dn K O x hD (0) (18) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (17)
try rw [show (0) + (17) + 1 + (1) = 19 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 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 (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (9)
try rw [show (3) + (9) + 1 + (3) = 16 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (18))) (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 (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (11)
try rw [show (0) + (11) + 1 + (6) = 18 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 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 (19)) (Zs K x (21))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (20))))) := A1.Dn K O x hD (0) (19) (0) (1) (2) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (18)
try rw [show (0) + (18) + 1 + (1) = 20 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 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 (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (19))) (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 (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (12)
try rw [show (0) + (12) + 1 + (6) = 19 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (21))))) := A1.Dn K O x hD (0) (20) (0) (1) (2) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (19)
try rw [show (0) + (19) + 1 + (1) = 21 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 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 (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (11)
try rw [show (3) + (11) + 1 + (3) = 18 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 + 1) + 1 = w + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (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 + 20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 13) (3) (2)
try rw [show (3) + (2) + 1 + (w + 13) = w + 19 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 13) = w + 16 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 (7)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ 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 (9))) (K.neg (K.mul (K.add (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 (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.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 _ _ 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 (5)) (Zs K x (7))) (Zs K x (8))))))
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
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 (6)) (Zs K x (8))) (Zs K x (8))))))
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 (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (2)
try rw [show (4) + (2) + 1 + (3) = 10 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (12))) (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 (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 (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (2)
try rw [show (4) + (2) + 1 + (4) = 11 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))) (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by