lean_all/ym/GenA7S27.lean
/-
ym/GenA7S27 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg27 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv2 K (fun i => x (i + 3)))) (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 (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (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 (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 (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.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (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.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))
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))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (7)) (Zs K x (9))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))))) := A1.Dn K O x hD (5) (2) (5) (6) (7) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
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))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
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 (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 (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.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 (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
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 (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 (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.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 (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (5)) (hx (13))
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 (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.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))))) := A1.Dn K O x hD (4) (8) (4) (5) (6) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))))) := A1.Dn K O x hD (5) (6) (5) (6) (7) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))))) := A1.Dn K O x hD (5) (8) (5) (6) (7) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))))) := A1.Dn K O x hD (6) (6) (6) (7) (8) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
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 (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (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.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 (16))) := O.mul_nonneg _ _ (hx (5)) (hx (15))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (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.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 (17))) := O.mul_nonneg _ _ (hx (5)) (hx (16))
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.zero (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 (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 (18))) := O.mul_nonneg _ _ (hx (5)) (hx (17))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (6)) (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.zero (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 (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)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))))) := A1.Dn K O x hD (5) (10) (5) (6) (7) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))))) := A1.Dn K O x hD (5) (12) (5) (6) (7) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))))) := A1.Dn K O x hD (6) (10) (6) (7) (8) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (3)) (hx (16))
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 (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 _ _ 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 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 21))) (K.neg (K.mul (K.add (K.add (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 (6)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 15))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 18))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 17))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 20))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 19))
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 (6)) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (1)
try rw [show (4) + (1) + 1 + (2) = 8 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : 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 _ _ 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 (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 (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 (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 (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 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 (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 (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 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 (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 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 (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 (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 (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 (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 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 (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.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 (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 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 (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 (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 (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 (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 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 (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 (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 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 (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 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 (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.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 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 (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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.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 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 (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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.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 (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 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 (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 (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (13)
try rw [show (0) + (13) + 1 + (6) = 20 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t4 : 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 _ _ t0 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 (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (14)
try rw [show (0) + (14) + 1 + (6) = 21 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 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 (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 (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 t4 : 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 _ _ t0 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 (20))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (13)
try rw [show (0) + (13) + 1 + (6) = 20 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (15)
try rw [show (0) + (15) + 1 + (6) = 22 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 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 (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 (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 _ _ t0 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 (21))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (7))))))
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 (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (14)
try rw [show (0) + (14) + 1 + (6) = 21 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 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 (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (16)
try rw [show (0) + (16) + 1 + (6) = 23 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 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 (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 (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 _ _ 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 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (K.add (K.add (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
have t2 : 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 _ _ 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 (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 (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (1)
try rw [show (1) + (1) + 1 + (6) = 9 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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)
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 (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 (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 (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
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 (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 (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 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
have t3 : 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 _ _ 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 (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 (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (4)
try rw [show (1) + (4) + 1 + (6) = 12 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (21))) (K.neg (K.mul (K.add (K.add (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 (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (12)
try rw [show (2) + (12) + 1 + (5) = 20 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (2)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (22))) (K.neg (K.mul (K.add (K.add (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 (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (13)
try rw [show (2) + (13) + 1 + (5) = 21 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (22))) := O.mul_nonneg _ _ (hx (2)) (hx (21))
exact A1.nn_of_eq K O _ _ (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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (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 (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ 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 =>
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 (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 (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (23))) (K.neg (K.mul (K.add (K.add (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 (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (13)
try rw [show (3) + (13) + 1 + (5) = 22 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 (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 + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (4)
try rw [show (3) + (4) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (23))) (K.neg (K.mul (K.add (K.add (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 (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (12)
try rw [show (6) + (12) + 1 + (3) = 22 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (12)
try rw [show (8) + (12) + 1 + (1) = 22 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (24))) (K.neg (K.mul (K.add (K.add (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 (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (13)
try rw [show (4) + (13) + 1 + (5) = 23 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (13)
try rw [show (6) + (13) + 1 + (3) = 23 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (13)
try rw [show (8) + (13) + 1 + (1) = 23 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 (5)) (Zs K x (7))) (Zs K x (9))) (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 (10))))))
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 (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (4)
try rw [show (4) + (4) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (2)
try rw [show (6) + (2) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (0)
try rw [show (8) + (0) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (24))) (K.neg (K.mul (K.add (K.add (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 (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (12)
try rw [show (7) + (12) + 1 + (3) = 23 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (12)
try rw [show (9) + (12) + 1 + (1) = 23 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (25))) (K.neg (K.mul (K.add (K.add (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 (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (13)
try rw [show (5) + (13) + 1 + (5) = 24 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (13)
try rw [show (7) + (13) + 1 + (3) = 24 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (13)
try rw [show (9) + (13) + 1 + (1) = 24 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 (6)) (Zs K x (8))) (Zs K x (10))) (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 (11))))))
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 (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (4)
try rw [show (5) + (4) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (2)
try rw [show (7) + (2) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (0)
try rw [show (9) + (0) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (25))) (K.neg (K.mul (K.add (K.add (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 (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (12)
try rw [show (6) + (12) + 1 + (5) = 24 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (12)
try rw [show (8) + (12) + 1 + (3) = 24 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (24)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (12)
try rw [show (10) + (12) + 1 + (1) = 24 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (26))) (K.neg (K.mul (K.add (K.add (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 (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (13)
try rw [show (6) + (13) + 1 + (5) = 25 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (13)
try rw [show (8) + (13) + 1 + (3) = 25 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (25)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (13)
try rw [show (10) + (13) + 1 + (1) = 25 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 (7)) (Zs K x (9))) (Zs K x (11))) (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 (12))))))
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 (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (4)
try rw [show (6) + (4) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (2)
try rw [show (8) + (2) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (12)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (0)
try rw [show (10) + (0) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (26))) (K.neg (K.mul (K.add (K.add (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 (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (12)
try rw [show (7) + (12) + 1 + (5) = 25 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (12)
try rw [show (9) + (12) + 1 + (3) = 25 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (25)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (12)
try rw [show (11) + (12) + 1 + (1) = 25 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (27))) (K.neg (K.mul (K.add (K.add (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 (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (13)
try rw [show (7) + (13) + 1 + (5) = 26 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (13)
try rw [show (9) + (13) + 1 + (3) = 26 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (26)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (13)
try rw [show (11) + (13) + 1 + (1) = 26 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 (8)) (Zs K x (10))) (Zs K x (12))) (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 (13))))))
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 (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (4)
try rw [show (7) + (4) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (2)
try rw [show (9) + (2) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (13)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (0)
try rw [show (11) + (0) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (27))) (K.neg (K.mul (K.add (K.add (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 (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (12)
try rw [show (8) + (12) + 1 + (5) = 26 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 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 (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (12)
try rw [show (10) + (12) + 1 + (3) = 26 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (26)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (12)
try rw [show (12) + (12) + 1 + (1) = 26 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (28))) (K.neg (K.mul (K.add (K.add (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 (9)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (13)
try rw [show (8) + (13) + 1 + (5) = 27 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (13)
try rw [show (10) + (13) + 1 + (3) = 27 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (27)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (13)
try rw [show (12) + (13) + 1 + (1) = 27 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (w + 29))) (K.neg (K.mul (K.add (K.add (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 (9)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (4)
try rw [show (8) + (4) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (2)
try rw [show (10) + (2) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (14)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (0)
try rw [show (12) + (0) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (28))) (K.neg (K.mul (K.add (K.add (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 (10)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (12)
try rw [show (9) + (12) + 1 + (5) = 27 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (12)
try rw [show (11) + (12) + 1 + (3) = 27 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (12)
try rw [show (13) + (12) + 1 + (1) = 27 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (29))) (K.neg (K.mul (K.add (K.add (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 (10)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (13)
try rw [show (9) + (13) + 1 + (5) = 28 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 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 (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (13)
try rw [show (11) + (13) + 1 + (3) = 28 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (13)
try rw [show (13) + (13) + 1 + (1) = 28 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1) + 1 = w + 24 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 + 30))) (K.neg (K.mul (K.add (K.add (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 (10)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (4)
try rw [show (9) + (4) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (2)
try rw [show (11) + (2) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (0)
try rw [show (13) + (0) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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
have t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (1)
try rw [show (10) + (1) + 1 + (5) = 17 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : 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 _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : 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 _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (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 t2 : 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 _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (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 t2 : 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 _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (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 (11)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (12)
try rw [show (10) + (12) + 1 + (5) = 28 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (12)
try rw [show (12) + (12) + 1 + (3) = 28 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (12)
try rw [show (14) + (12) + 1 + (1) = 28 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (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 (11)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (13)
try rw [show (10) + (13) + 1 + (5) = 29 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (13)
try rw [show (12) + (13) + 1 + (3) = 29 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (13)
try rw [show (14) + (13) + 1 + (1) = 29 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (w + 31))) (K.neg (K.mul (K.add (K.add (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 (11)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (4)
try rw [show (10) + (4) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (2)
try rw [show (12) + (2) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (0)
try rw [show (14) + (0) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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
have t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (1)
try rw [show (11) + (1) + 1 + (5) = 18 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : 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 _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : 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 _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (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 (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 t1 : 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 t2 : 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 _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (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 (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 t1 : 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 t2 : 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 _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (29))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (12)
try rw [show (11) + (12) + 1 + (5) = 29 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (12)
try rw [show (13) + (12) + 1 + (3) = 29 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (12)
try rw [show (15) + (12) + 1 + (1) = 29 by lib_nat] at h
try rw [show (15) + (12) + 1 = 28 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (30))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (13)
try rw [show (11) + (13) + 1 + (5) = 30 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (13)
try rw [show (13) + (13) + 1 + (3) = 30 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (13)
try rw [show (15) + (13) + 1 + (1) = 30 by lib_nat] at h
try rw [show (15) + (13) + 1 = 29 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (w + 32))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 27)) (Zs K x (w + 29))) (Zs K x (w + 31))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (4)
try rw [show (11) + (4) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (2)
try rw [show (13) + (2) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (15) (0)
try rw [show (15) + (0) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (w + 15) = w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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
have t1 : 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 t2 : 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (1)
try rw [show (12) + (1) + 1 + (5) = 19 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (2) (16) (0)
try rw [show (16) + (0) + 1 + (2) = 19 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (2) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (2)
try rw [show (14) + (2) + 1 + (3) = 20 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (3) (16) (0)
try rw [show (16) + (0) + 1 + (3) = 20 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (3) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (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 t1 : 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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (2)
try rw [show (14) + (2) + 1 + (4) = 21 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (4) (16) (0)
try rw [show (16) + (0) + 1 + (4) = 21 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (4) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (4)
try rw [show (12) + (4) + 1 + (5) = 22 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (2)
try rw [show (14) + (2) + 1 + (5) = 22 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (5) (16) (0)
try rw [show (16) + (0) + 1 + (5) = 22 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (5) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (4)
try rw [show (12) + (4) + 1 + (6) = 23 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 t1 : 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 (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (2)
try rw [show (14) + (2) + 1 + (6) = 23 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (6) (16) (0)
try rw [show (16) + (0) + 1 + (6) = 23 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (6) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (4)
try rw [show (12) + (4) + 1 + (7) = 24 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 t1 : 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 (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (2)
try rw [show (14) + (2) + 1 + (7) = 24 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (24)))))) := by
have h := A2.mk K O x hT (7) (16) (0)
try rw [show (16) + (0) + 1 + (7) = 24 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (7) = 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (21)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (7)
try rw [show (12) + (7) + 1 + (5) = 25 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 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 t1 : 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 (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (7)
try rw [show (14) + (7) + 1 + (3) = 25 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (7)
try rw [show (16) + (7) + 1 + (1) = 25 by lib_nat] at h
try rw [show (16) + (7) + 1 = 24 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (8)
try rw [show (12) + (8) + 1 + (5) = 26 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 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 t1 : 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 (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (8)
try rw [show (14) + (8) + 1 + (3) = 26 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (8)
try rw [show (16) + (8) + 1 + (1) = 26 by lib_nat] at h
try rw [show (16) + (8) + 1 = 25 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (27))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (9)
try rw [show (12) + (9) + 1 + (5) = 27 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 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 t1 : 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 (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (9)
try rw [show (14) + (9) + 1 + (3) = 27 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (9)
try rw [show (16) + (9) + 1 + (1) = 27 by lib_nat] at h
try rw [show (16) + (9) + 1 = 26 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (28))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (10)
try rw [show (12) + (10) + 1 + (5) = 28 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 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 t1 : 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 (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (10)
try rw [show (14) + (10) + 1 + (3) = 28 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (10)
try rw [show (16) + (10) + 1 + (1) = 28 by lib_nat] at h
try rw [show (16) + (10) + 1 = 27 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (29))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (11)
try rw [show (12) + (11) + 1 + (5) = 29 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (11)
try rw [show (14) + (11) + 1 + (3) = 29 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (11)
try rw [show (16) + (11) + 1 + (1) = 29 by lib_nat] at h
try rw [show (16) + (11) + 1 = 28 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (30))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (12)
try rw [show (12) + (12) + 1 + (5) = 30 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (12)
try rw [show (14) + (12) + 1 + (3) = 30 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (12)
try rw [show (16) + (12) + 1 + (1) = 30 by lib_nat] at h
try rw [show (16) + (12) + 1 = 29 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (32))) (K.neg (K.mul (K.add (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (31))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (13)
try rw [show (12) + (13) + 1 + (5) = 31 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (32))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (13)
try rw [show (14) + (13) + 1 + (3) = 31 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (13)
try rw [show (16) + (13) + 1 + (1) = 31 by lib_nat] at h
try rw [show (16) + (13) + 1 = 30 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (w + 33))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 28)) (Zs K x (w + 30))) (Zs K x (w + 32))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (4)
try rw [show (12) + (4) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (2)
try rw [show (14) + (2) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 32)))))) := by
have h := A2.mk K O x hT (w + 15) (16) (0)
try rw [show (16) + (0) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (w + 15) = w + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + 0 + 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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (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 + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (5) (a + 13) (0)
try rw [show (a + 13) + (0) + 1 + (5) = a + 19 by lib_nat] at h
try rw [show (a + 13) + (0) + 1 = a + 14 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 t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (1) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (1) = a + 19 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (1) = 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 + 1 + 1 + (0 + 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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (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 + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (5) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (5) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (2) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (2) = a + 20 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (2) = 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 + 1 + 1 + (0 + 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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (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 + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (5) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (5) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 + 19)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (3) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (3) = a + 21 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (3) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (3) = a + 21 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (3) = 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 + 1 + 1 + (0 + 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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (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 + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 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 t1 : 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 + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (4) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (4) = a + 22 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (4) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (4) = a + 22 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (4) = 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 + 1 + 1 + (0 + 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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (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 + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (5) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (5) = a + 23 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 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 t1 : 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 + 19)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (5) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (5) = a + 23 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (5) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (5) = a + 23 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (5) = 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (6) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (6) = a + 24 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 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 t1 : 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 + 19)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (6) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (6) = a + 24 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (6) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (6) = a + 24 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (6) = 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (7) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (7) = a + 25 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 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 t1 : 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 + 19)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (7) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (7) = a + 25 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (7) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (7) = a + 25 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (7) = 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (8) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (8) = a + 26 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 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 t1 : 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 + 19)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (8) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (8) = a + 26 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (8) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (8) = a + 26 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (8) = 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (9) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (9) = a + 27 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 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 t1 : 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 + 19)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (9) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (9) = a + 27 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (9) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (9) = a + 27 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (9) = 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 =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (10) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (10) = a + 28 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 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 t1 : 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 + 19)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (10) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (10) = a + 28 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (10) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (10) = a + 28 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (10) = 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 _ _ 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 30))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (11) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (11) = a + 29 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 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 t1 : 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 + 19)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (11) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (11) = a + 29 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (11) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (11) = a + 29 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (11) = 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 _ _ 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 31))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 30))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (12) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (12) = a + 30 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (12) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (12) = a + 30 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (12) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (12) = a + 30 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (12) = a + 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 _ _ 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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 32))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 31))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (13) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (13) = a + 31 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 13) + (13) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (13) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (13) = a + 31 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 15) + (13) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 31)))))) := by
have h := A2.mk K O x hT (13) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (13) = a + 31 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (13) = a + 30 by lib_nat] at h
exact A2.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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 33))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (Zs K x (a + 32))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (14) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (14) = a + 32 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 13) + (14) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (14) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (14) = a + 32 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 15) + (14) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 32)))))) := by
have h := A2.mk K O x hT (14) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (14) = a + 32 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (14) = a + 31 by lib_nat] at h
exact A2.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 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + w + 34))) (K.neg (K.mul (K.add (K.add (Zs K x (a + w + 29)) (Zs K x (a + w + 31))) (Zs K x (a + w + 33))) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 34))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 13) (4)
try rw [show (a + 13) + (4) + 1 + (w + 15) = a + w + 33 by lib_nat] at h
try rw [show (a + 13) + (4) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 13) + (w + 15) = a + w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 34))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 15) (2)
try rw [show (a + 15) + (2) + 1 + (w + 15) = a + w + 33 by lib_nat] at h
try rw [show (a + 15) + (2) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 15) + (w + 15) = a + w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 34))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + w + 33)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 17) (0)
try rw [show (a + 17) + (0) + 1 + (w + 15) = a + w + 33 by lib_nat] at h
try rw [show (a + 17) + (0) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 17) + (w + 15) = a + w + 32 by lib_nat] at h
exact A2.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)
end signs
end GenA7
lean_all/ym/GenA7S28.lean
/-
ym/GenA7S28 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg28 (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.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 (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 =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (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 =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (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 (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 (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (6)) (hx (17))
have t4 : 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 _ _ 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 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 22))) (K.neg (K.mul (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 (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 12))
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))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
have t3 : 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 _ _ 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 (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 (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 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.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 (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 =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (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.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 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.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 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.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (2)) (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 _ _ 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 (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 (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.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 t3 : 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 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.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 (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (22))) := O.mul_nonneg _ _ (hx (2)) (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 _ _ 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 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 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 (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 13))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 15))
have t3 : 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 _ _ 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 (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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (0)) (hx (16))
have t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.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 (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 (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (4)
try rw [show (2) + (4) + 1 + (6) = 13 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (18))) := O.mul_nonneg _ _ (hx (0)) (hx (17))
have t6 : 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 _ _ 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 (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 (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 (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 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.mul (Zs K x (1)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (0)) (hx (18))
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 (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 =>
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 (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 (9))))))
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 (22)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (20)
try rw [show (0) + (20) + 1 + (1) = 22 by lib_nat] at h
try rw [show (0) + (20) + 1 = 21 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 (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.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (23))) := O.mul_nonneg _ _ (hx (0)) (hx (22))
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 (Zs K x (4)) (Zs K x (6))) (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 (9))))))
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 (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 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 (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (13)
try rw [show (1) + (13) + 1 + (7) = 22 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (13)
try rw [show (3) + (13) + 1 + (5) = 22 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (24))) := O.mul_nonneg _ _ (hx (0)) (hx (23))
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 =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (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 (9))))))
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 (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (4)
try rw [show (3) + (4) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 14))
have t3 : 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 _ _ 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 (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 (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 (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 (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 (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 (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 (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 (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 _ _ t0 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 (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 (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 (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 (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 (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 (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (15)
try rw [show (1) + (15) + 1 + (1) = 18 by lib_nat] at h
try rw [show (1) + (15) + 1 = 17 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 (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 (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 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 (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 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 (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 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 (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 (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 (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 (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 (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 _ _ t0 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 (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (17)
try rw [show (1) + (17) + 1 + (1) = 20 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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.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 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 (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 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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 (10))))))
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 (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 (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (12)
try rw [show (6) + (12) + 1 + (3) = 22 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 =>
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 (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 (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (19)
try rw [show (1) + (19) + 1 + (1) = 22 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (13)
try rw [show (4) + (13) + 1 + (5) = 23 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (13)
try rw [show (6) + (13) + 1 + (3) = 23 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 _ _ 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 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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 (10))))))
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 (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (6)
try rw [show (2) + (6) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (4)
try rw [show (4) + (4) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (2)
try rw [show (6) + (2) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 _ _ 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 (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (16)
try rw [show (1) + (16) + 1 + (1) = 19 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 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 (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 (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 (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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (17)
try rw [show (1) + (17) + 1 + (1) = 20 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (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 (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 (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (18)
try rw [show (1) + (18) + 1 + (1) = 21 by lib_nat] at h
try rw [show (1) + (18) + 1 = 20 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 (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 (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 (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (19)
try rw [show (1) + (19) + 1 + (1) = 22 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (20)
try rw [show (1) + (20) + 1 + (1) = 23 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (12)
try rw [show (7) + (12) + 1 + (3) = 23 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 _ _ (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 (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 (11))))))
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 (24)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (21)
try rw [show (1) + (21) + 1 + (1) = 24 by lib_nat] at h
try rw [show (1) + (21) + 1 = 23 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 (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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (13)
try rw [show (5) + (13) + 1 + (5) = 24 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (13)
try rw [show (7) + (13) + 1 + (3) = 24 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.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 + 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 (11))))))
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 (11)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (8)
try rw [show (1) + (8) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (6)
try rw [show (3) + (6) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (4)
try rw [show (5) + (4) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (2)
try rw [show (7) + (2) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (16)
try rw [show (2) + (16) + 1 + (1) = 20 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (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 (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 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 (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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (17)
try rw [show (2) + (17) + 1 + (1) = 21 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 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 (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 _ _ (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 (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 (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (18)
try rw [show (2) + (18) + 1 + (1) = 22 by lib_nat] at h
try rw [show (2) + (18) + 1 = 21 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (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 (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 (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 (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 _ _ 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 (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 (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (19)
try rw [show (2) + (19) + 1 + (1) = 23 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 (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 _ _ 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 (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 (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (20)
try rw [show (2) + (20) + 1 + (1) = 24 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (12)
try rw [show (6) + (12) + 1 + (5) = 24 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (12)
try rw [show (8) + (12) + 1 + (3) = 24 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (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 (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 (12))))))
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 (25)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (21)
try rw [show (2) + (21) + 1 + (1) = 25 by lib_nat] at h
try rw [show (2) + (21) + 1 = 24 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (13)
try rw [show (6) + (13) + 1 + (5) = 25 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (13)
try rw [show (8) + (13) + 1 + (3) = 25 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.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 + 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 (12))))))
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 (12)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (8)
try rw [show (2) + (8) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (6)
try rw [show (4) + (6) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (4)
try rw [show (6) + (4) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (2)
try rw [show (8) + (2) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (16)
try rw [show (3) + (16) + 1 + (1) = 21 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (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 (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 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 (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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (17)
try rw [show (3) + (17) + 1 + (1) = 22 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 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 (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 _ _ (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 (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 (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (18)
try rw [show (3) + (18) + 1 + (1) = 23 by lib_nat] at h
try rw [show (3) + (18) + 1 = 22 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (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 (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 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 (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 _ _ 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 (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 (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (19)
try rw [show (3) + (19) + 1 + (1) = 24 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (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 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 (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 _ _ 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 (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 (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (20)
try rw [show (3) + (20) + 1 + (1) = 25 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 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 (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (12)
try rw [show (7) + (12) + 1 + (5) = 25 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (12)
try rw [show (9) + (12) + 1 + (3) = 25 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (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 (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 (13))))))
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 (26)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (21)
try rw [show (3) + (21) + 1 + (1) = 26 by lib_nat] at h
try rw [show (3) + (21) + 1 = 25 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (13)
try rw [show (7) + (13) + 1 + (5) = 26 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (13)
try rw [show (9) + (13) + 1 + (3) = 26 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.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 + 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 (13))))))
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 (13)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (8)
try rw [show (3) + (8) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (6)
try rw [show (5) + (6) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (4)
try rw [show (7) + (4) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (2)
try rw [show (9) + (2) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (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 (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (16)
try rw [show (4) + (16) + 1 + (1) = 22 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (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 (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 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 (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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (17)
try rw [show (4) + (17) + 1 + (1) = 23 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 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 (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 _ _ (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 (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 (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (18)
try rw [show (4) + (18) + 1 + (1) = 24 by lib_nat] at h
try rw [show (4) + (18) + 1 = 23 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (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 (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 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 (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 _ _ 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 (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 (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (19)
try rw [show (4) + (19) + 1 + (1) = 25 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (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 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 (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 _ _ 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 (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 (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (20)
try rw [show (4) + (20) + 1 + (1) = 26 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 t3 : 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 (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (12)
try rw [show (8) + (12) + 1 + (5) = 26 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 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 (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (12)
try rw [show (10) + (12) + 1 + (3) = 26 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (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 (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 (14))))))
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 (27)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (21)
try rw [show (4) + (21) + 1 + (1) = 27 by lib_nat] at h
try rw [show (4) + (21) + 1 = 26 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (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.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 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 (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (13)
try rw [show (8) + (13) + 1 + (5) = 27 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (13)
try rw [show (10) + (13) + 1 + (3) = 27 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 (14))))))
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 (14)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (8)
try rw [show (4) + (8) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (14)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (6)
try rw [show (6) + (6) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (4)
try rw [show (8) + (4) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (2)
try rw [show (10) + (2) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (16)
try rw [show (5) + (16) + 1 + (1) = 23 by lib_nat] at h
try rw [show (5) + (16) + 1 = 22 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (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 (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 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 (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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (17)
try rw [show (5) + (17) + 1 + (1) = 24 by lib_nat] at h
try rw [show (5) + (17) + 1 = 23 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 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 (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 _ _ (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 (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 (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (18)
try rw [show (5) + (18) + 1 + (1) = 25 by lib_nat] at h
try rw [show (5) + (18) + 1 = 24 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (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 (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 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 (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 _ _ 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 (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 (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (19)
try rw [show (5) + (19) + 1 + (1) = 26 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (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 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 (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 _ _ 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 (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 (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (20)
try rw [show (5) + (20) + 1 + (1) = 27 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (12)
try rw [show (6) + (12) + 1 + (7) = 26 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t3 : 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 (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (12)
try rw [show (9) + (12) + 1 + (5) = 27 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (12)
try rw [show (11) + (12) + 1 + (3) = 27 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (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 (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 (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (21)
try rw [show (5) + (21) + 1 + (1) = 28 by lib_nat] at h
try rw [show (5) + (21) + 1 = 27 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (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 (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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (13)
try rw [show (9) + (13) + 1 + (5) = 28 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 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 (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (13)
try rw [show (11) + (13) + 1 + (3) = 28 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (8)
try rw [show (5) + (8) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (6)
try rw [show (7) + (6) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (4)
try rw [show (9) + (4) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (2)
try rw [show (11) + (2) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (16)
try rw [show (6) + (16) + 1 + (1) = 24 by lib_nat] at h
try rw [show (6) + (16) + 1 = 23 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (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 (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 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 (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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (17)
try rw [show (6) + (17) + 1 + (1) = 25 by lib_nat] at h
try rw [show (6) + (17) + 1 = 24 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 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 (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 _ _ (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 (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 (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (18)
try rw [show (6) + (18) + 1 + (1) = 26 by lib_nat] at h
try rw [show (6) + (18) + 1 = 25 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (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 (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 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 (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 _ _ 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 (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 (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (19)
try rw [show (6) + (19) + 1 + (1) = 27 by lib_nat] at h
try rw [show (6) + (19) + 1 = 26 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 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 (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 _ _ 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 (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (20)
try rw [show (6) + (20) + 1 + (1) = 28 by lib_nat] at h
try rw [show (6) + (20) + 1 = 27 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (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.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 t3 : 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 (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (12)
try rw [show (10) + (12) + 1 + (5) = 28 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 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 (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (12)
try rw [show (12) + (12) + 1 + (3) = 28 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (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 (30))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (21)
try rw [show (6) + (21) + 1 + (1) = 29 by lib_nat] at h
try rw [show (6) + (21) + 1 = 28 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (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.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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (13)
try rw [show (10) + (13) + 1 + (5) = 29 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 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 (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (13)
try rw [show (12) + (13) + 1 + (3) = 29 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 31))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (8)
try rw [show (6) + (8) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (6)
try rw [show (8) + (6) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (4)
try rw [show (10) + (4) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (2)
try rw [show (12) + (2) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (16)
try rw [show (7) + (16) + 1 + (1) = 25 by lib_nat] at h
try rw [show (7) + (16) + 1 = 24 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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 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 (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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (17)
try rw [show (7) + (17) + 1 + (1) = 26 by lib_nat] at h
try rw [show (7) + (17) + 1 = 25 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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 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 (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 _ _ (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 (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 (8)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (18)
try rw [show (7) + (18) + 1 + (1) = 27 by lib_nat] at h
try rw [show (7) + (18) + 1 = 26 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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 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 (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 _ _ (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 (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 (8)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (19)
try rw [show (7) + (19) + 1 + (1) = 28 by lib_nat] at h
try rw [show (7) + (19) + 1 = 27 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (11)
try rw [show (9) + (11) + 1 + (7) = 28 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 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 (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 (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 _ _ (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 (30))) (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 (8)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (20)
try rw [show (7) + (20) + 1 + (1) = 29 by lib_nat] at h
try rw [show (7) + (20) + 1 = 28 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (12)
try rw [show (9) + (12) + 1 + (7) = 29 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 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 (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (12)
try rw [show (11) + (12) + 1 + (5) = 29 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 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 (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (12)
try rw [show (13) + (12) + 1 + (3) = 29 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 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 (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 _ _ (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 (31))) (K.neg (K.mul (K.add (K.add (K.add (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 (8)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (21)
try rw [show (7) + (21) + 1 + (1) = 30 by lib_nat] at h
try rw [show (7) + (21) + 1 = 29 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (13)
try rw [show (9) + (13) + 1 + (7) = 30 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 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 (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (13)
try rw [show (11) + (13) + 1 + (5) = 30 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 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 (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (13)
try rw [show (13) + (13) + 1 + (3) = 30 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 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 (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 _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 32))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (8)
try rw [show (7) + (8) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (6)
try rw [show (9) + (6) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (4)
try rw [show (11) + (4) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (2)
try rw [show (13) + (2) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (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 (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (7)
try rw [show (9) + (7) + 1 + (2) = 19 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 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 (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 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 (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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (8)
try rw [show (8) + (8) + 1 + (2) = 19 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (1)
try rw [show (10) + (1) + 1 + (7) = 19 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (8)
try rw [show (8) + (8) + 1 + (3) = 20 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (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 (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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (2)
try rw [show (14) + (2) + 1 + (3) = 20 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 (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 (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (8)
try rw [show (8) + (8) + 1 + (4) = 21 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (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 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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (2)
try rw [show (14) + (2) + 1 + (4) = 21 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 (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 (18))))))
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 (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 (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (4)
try rw [show (12) + (4) + 1 + (5) = 22 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (2)
try rw [show (14) + (2) + 1 + (5) = 22 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 (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 (18))))))
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 (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (8)
try rw [show (8) + (8) + 1 + (6) = 23 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 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 (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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (4)
try rw [show (12) + (4) + 1 + (6) = 23 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (2)
try rw [show (14) + (2) + 1 + (6) = 23 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 (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 (18))))))
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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (4)
try rw [show (12) + (4) + 1 + (7) = 24 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (2)
try rw [show (14) + (2) + 1 + (7) = 24 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 (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 (18))))))
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 (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 t1 : 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 t2 : 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 (26)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (15)
try rw [show (9) + (15) + 1 + (1) = 26 by lib_nat] at h
try rw [show (9) + (15) + 1 = 25 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 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 (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 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 (21)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (7)
try rw [show (12) + (7) + 1 + (5) = 25 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 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.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (7)
try rw [show (14) + (7) + 1 + (3) = 25 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 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 _ _ 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 (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 (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (18))))))
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 (26)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (16)
try rw [show (8) + (16) + 1 + (1) = 26 by lib_nat] at h
try rw [show (8) + (16) + 1 = 25 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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 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 (22)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (8)
try rw [show (12) + (8) + 1 + (5) = 26 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 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 (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (8)
try rw [show (14) + (8) + 1 + (3) = 26 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (0)
try rw [show (16) + (0) + 1 + (1) = 18 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (18))))))
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 (27)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (17)
try rw [show (8) + (17) + 1 + (1) = 27 by lib_nat] at h
try rw [show (8) + (17) + 1 = 26 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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 t3 : 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 (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (9)
try rw [show (12) + (9) + 1 + (5) = 27 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (9)
try rw [show (14) + (9) + 1 + (3) = 27 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (2) (16) (0)
try rw [show (16) + (0) + 1 + (2) = 19 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (2) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (18))))))
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 (28)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (18)
try rw [show (8) + (18) + 1 + (1) = 28 by lib_nat] at h
try rw [show (8) + (18) + 1 = 27 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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 t3 : 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 (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (10)
try rw [show (12) + (10) + 1 + (5) = 28 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 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 (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (10)
try rw [show (14) + (10) + 1 + (3) = 28 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (3) (16) (0)
try rw [show (16) + (0) + 1 + (3) = 20 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (3) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (30))) (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 (18))))))
have t0 : 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 (29)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (19)
try rw [show (8) + (19) + 1 + (1) = 29 by lib_nat] at h
try rw [show (8) + (19) + 1 = 28 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (11)
try rw [show (9) + (11) + 1 + (7) = 28 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 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 (11)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (11)
try rw [show (10) + (11) + 1 + (7) = 29 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 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 (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (11)
try rw [show (12) + (11) + 1 + (5) = 29 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 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 (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (11)
try rw [show (14) + (11) + 1 + (3) = 29 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (4) (16) (0)
try rw [show (16) + (0) + 1 + (4) = 21 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (4) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (20)
try rw [show (8) + (20) + 1 + (1) = 30 by lib_nat] at h
try rw [show (8) + (20) + 1 = 29 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (12)
try rw [show (9) + (12) + 1 + (7) = 29 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 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 (11)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (12)
try rw [show (10) + (12) + 1 + (7) = 30 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 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 (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (12)
try rw [show (12) + (12) + 1 + (5) = 30 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 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 (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (12)
try rw [show (14) + (12) + 1 + (3) = 30 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (5) (16) (0)
try rw [show (16) + (0) + 1 + (5) = 22 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (5) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (32))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (21)
try rw [show (8) + (21) + 1 + (1) = 31 by lib_nat] at h
try rw [show (8) + (21) + 1 = 30 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (13)
try rw [show (9) + (13) + 1 + (7) = 30 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 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 (11)) (Zs K x (32))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (13)
try rw [show (10) + (13) + 1 + (7) = 31 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 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 (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (13)
try rw [show (12) + (13) + 1 + (5) = 31 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 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 (32))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (13)
try rw [show (14) + (13) + 1 + (3) = 31 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (6) (16) (0)
try rw [show (16) + (0) + 1 + (6) = 23 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (6) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 33))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (w + 30))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (8)
try rw [show (8) + (8) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (6)
try rw [show (10) + (6) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (10) + (6) + 1 = 17 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (4)
try rw [show (12) + (4) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (2)
try rw [show (14) + (2) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (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 (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (7)
try rw [show (10) + (7) + 1 + (2) = 20 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 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 (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 (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (8)
try rw [show (9) + (8) + 1 + (2) = 20 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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
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 (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 t3 : 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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (8)
try rw [show (9) + (8) + 1 + (3) = 21 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (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 t3 : 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 (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (2)
try rw [show (15) + (2) + 1 + (3) = 21 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (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 (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (19))))))
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 (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 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 (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 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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (3)
try rw [show (13) + (3) + 1 + (5) = 22 by lib_nat] at h
try rw [show (13) + (3) + 1 = 17 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 t3 : 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 (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (2)
try rw [show (15) + (2) + 1 + (4) = 22 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (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 (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (19))))))
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 (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 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 (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (4)
try rw [show (13) + (4) + 1 + (5) = 23 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t3 : 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 (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (2)
try rw [show (15) + (2) + 1 + (5) = 23 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (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 (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (19))))))
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 (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (8)
try rw [show (9) + (8) + 1 + (6) = 24 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 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 (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (5)
try rw [show (11) + (5) + 1 + (7) = 24 by lib_nat] at h
try rw [show (11) + (5) + 1 = 17 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 (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (4)
try rw [show (13) + (4) + 1 + (6) = 24 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t3 : 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 (19)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (6) (15) (2)
try rw [show (15) + (2) + 1 + (6) = 24 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (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 (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (19))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (6)
try rw [show (11) + (6) + 1 + (7) = 25 by lib_nat] at h
try rw [show (11) + (6) + 1 = 18 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (4)
try rw [show (13) + (4) + 1 + (7) = 25 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t3 : 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 (19)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (7) (15) (2)
try rw [show (15) + (2) + 1 + (7) = 25 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (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 (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : 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 (27)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (15)
try rw [show (10) + (15) + 1 + (1) = 27 by lib_nat] at h
try rw [show (10) + (15) + 1 = 26 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 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 (20)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (7)
try rw [show (11) + (7) + 1 + (7) = 26 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (22)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (7)
try rw [show (13) + (7) + 1 + (5) = 26 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 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 t5 : 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 (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (7)
try rw [show (15) + (7) + 1 + (3) = 26 by lib_nat] at h
try rw [show (15) + (7) + 1 = 23 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 _ _ (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 (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 (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (19))))))
have t0 : 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 (27)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (16)
try rw [show (9) + (16) + 1 + (1) = 27 by lib_nat] at h
try rw [show (9) + (16) + 1 = 26 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (8)
try rw [show (11) + (8) + 1 + (7) = 27 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 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 (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (8)
try rw [show (13) + (8) + 1 + (5) = 27 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (8)
try rw [show (15) + (8) + 1 + (3) = 27 by lib_nat] at h
try rw [show (15) + (8) + 1 = 24 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (0)
try rw [show (17) + (0) + 1 + (1) = 19 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (17)
try rw [show (9) + (17) + 1 + (1) = 28 by lib_nat] at h
try rw [show (9) + (17) + 1 = 27 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (12)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (9)
try rw [show (11) + (9) + 1 + (7) = 28 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 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 (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (9)
try rw [show (13) + (9) + 1 + (5) = 28 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 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 (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (9)
try rw [show (15) + (9) + 1 + (3) = 28 by lib_nat] at h
try rw [show (15) + (9) + 1 = 25 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (2) (17) (0)
try rw [show (17) + (0) + 1 + (2) = 20 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (2) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (30))) (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 (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (18)
try rw [show (9) + (18) + 1 + (1) = 29 by lib_nat] at h
try rw [show (9) + (18) + 1 = 28 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (12)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (10)
try rw [show (11) + (10) + 1 + (7) = 29 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 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 (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (10)
try rw [show (13) + (10) + 1 + (5) = 29 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 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 (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (10)
try rw [show (15) + (10) + 1 + (3) = 29 by lib_nat] at h
try rw [show (15) + (10) + 1 = 26 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (3) (17) (0)
try rw [show (17) + (0) + 1 + (3) = 21 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (3) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (19)
try rw [show (9) + (19) + 1 + (1) = 30 by lib_nat] at h
try rw [show (9) + (19) + 1 = 29 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (11)
try rw [show (10) + (11) + 1 + (7) = 29 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 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 (12)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (11)
try rw [show (11) + (11) + 1 + (7) = 30 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 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 (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (11)
try rw [show (13) + (11) + 1 + (5) = 30 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 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 (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (11)
try rw [show (15) + (11) + 1 + (3) = 30 by lib_nat] at h
try rw [show (15) + (11) + 1 = 27 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (4) (17) (0)
try rw [show (17) + (0) + 1 + (4) = 22 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (4) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (32))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (20)
try rw [show (9) + (20) + 1 + (1) = 31 by lib_nat] at h
try rw [show (9) + (20) + 1 = 30 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (12)
try rw [show (10) + (12) + 1 + (7) = 30 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 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 (12)) (Zs K x (32))) (K.neg (K.mul (Zs K x (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (12)
try rw [show (11) + (12) + 1 + (7) = 31 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 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 (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (12)
try rw [show (13) + (12) + 1 + (5) = 31 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 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 (32))) (K.neg (K.mul (Zs K x (29)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (12)
try rw [show (15) + (12) + 1 + (3) = 31 by lib_nat] at h
try rw [show (15) + (12) + 1 = 28 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (5) (17) (0)
try rw [show (17) + (0) + 1 + (5) = 23 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (5) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (33))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (28))) (Zs K x (30))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (33))) (K.neg (K.mul (Zs K x (32)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (21)
try rw [show (9) + (21) + 1 + (1) = 32 by lib_nat] at h
try rw [show (9) + (21) + 1 = 31 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (32))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (13)
try rw [show (10) + (13) + 1 + (7) = 31 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 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 (12)) (Zs K x (33))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (13)
try rw [show (11) + (13) + 1 + (7) = 32 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 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 (33))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (13)
try rw [show (13) + (13) + 1 + (5) = 32 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 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 (33))) (K.neg (K.mul (Zs K x (30)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (13)
try rw [show (15) + (13) + 1 + (3) = 32 by lib_nat] at h
try rw [show (15) + (13) + 1 = 29 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 t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (24)))))) := by
have h := A2.mk K O x hT (6) (17) (0)
try rw [show (17) + (0) + 1 + (6) = 24 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (6) = 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 (w + 34))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (w + 29))) (Zs K x (w + 31))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (8)
try rw [show (9) + (8) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (6)
try rw [show (11) + (6) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (11) + (6) + 1 = 18 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (4)
try rw [show (13) + (4) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (15) (2)
try rw [show (15) + (2) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 by lib_nat] at h
try rw [show (15) + (w + 15) = w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (8) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (8) = a + 21 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (8) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 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 t2 : 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
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 + 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 10) + (9) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 15)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (1)
try rw [show (a + 12) + (1) + 1 + (7) = a + 21 by lib_nat] at h
try rw [show (a + 12) + (1) + 1 = a + 14 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 + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (1)
try rw [show (a + 14) + (1) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 14) + (1) + 1 = a + 16 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 t3 : 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 + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (1)
try rw [show (a + 16) + (1) + 1 + (3) = a + 21 by lib_nat] at h
try rw [show (a + 16) + (1) + 1 = a + 18 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
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 + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (9) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 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 t3 : 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 + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (3) = a + 22 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
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 + 15)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (3)
try rw [show (a + 10) + (3) + 1 + (9) = a + 23 by lib_nat] at h
try rw [show (a + 10) + (3) + 1 = a + 14 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 + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (3)
try rw [show (a + 12) + (3) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 12) + (3) + 1 = a + 16 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 + 24))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (3)
try rw [show (a + 14) + (3) + 1 + (5) = a + 23 by lib_nat] at h
try rw [show (a + 14) + (3) + 1 = a + 18 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 t3 : 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 + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (4) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (4) = a + 23 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
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 + 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 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 + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t3 : 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 + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (5) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
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 + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (5)
try rw [show (a + 10) + (5) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 10) + (5) + 1 = a + 16 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 + 26))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (5)
try rw [show (a + 12) + (5) + 1 + (7) = a + 25 by lib_nat] at h
try rw [show (a + 12) + (5) + 1 = a + 18 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 + 26))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (6) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t3 : 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 + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (6) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
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 + 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 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 + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 + 27))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (7) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t3 : 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 + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (7) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
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 + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (7)
try rw [show (a + 10) + (7) + 1 + (9) = a + 27 by lib_nat] at h
try rw [show (a + 10) + (7) + 1 = a + 18 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 + 28))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (8) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 + 28))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (8) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t3 : 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 + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (8) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
have t0 : 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 + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (8)
try rw [show (a + 10) + (8) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 10) + (8) + 1 = a + 19 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 + 29))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (9) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 + 29))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (9) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t3 : 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 + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (9) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 20))))))
have t0 : 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 + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (10) (a + 10) (8)
try rw [show (a + 10) + (8) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 10) + (8) + 1 = a + 19 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 + 30))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (10) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 + 30))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (10) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t3 : 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 + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (10) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 31))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (11) (a + 10) (8)
try rw [show (a + 10) + (8) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 10) + (8) + 1 = a + 19 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 + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (11) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (11) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (11) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 32))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (12) (a + 10) (8)
try rw [show (a + 10) + (8) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 10) + (8) + 1 = a + 19 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 + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (12) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (12) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (12) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 33))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 30))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (13) (a + 10) (8)
try rw [show (a + 10) + (8) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 10) + (8) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 10) + (13) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (13) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 12) + (13) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (13) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (13) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (13) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (13) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 34))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 31))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (14) (a + 10) (8)
try rw [show (a + 10) + (8) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 10) + (8) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 10) + (14) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (14) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 12) + (14) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (14) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (14) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 31)))))) := by
have h := A2.mk K O x hT (14) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (14) = a + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + w + 35))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + w + 26)) (Zs K x (a + w + 28))) (Zs K x (a + w + 30))) (Zs K x (a + w + 32))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 10) (8)
try rw [show (a + 10) + (8) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 10) + (8) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 10) + (w + 15) = a + w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 12) + (w + 15) = a + w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (w + 15) = a + w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 32)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (w + 15) = a + w + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S29.lean
/-
ym/GenA7S29 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg29 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor 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 (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (1)
try rw [show (4) + (1) + 1 + (2) = 8 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : 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 _ _ 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 (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 (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.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (10))))) := A1.Dn K O x hD (1) (8) (1) (2) (3) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (9))))) := A1.Dn K O x hD (2) (6) (2) (3) (4) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
have t6 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (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 (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (1)
try rw [show (0) + (1) + 1 + (6) = 8 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.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 (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 (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (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 _ _ 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 (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.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 (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 (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 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 (5)) (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 (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 (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 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 (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
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 (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (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 (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 (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
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 (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (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.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 (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
have t5 : 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 _ _ 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 (15))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (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.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 (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
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 (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 _ _ 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 (9)) (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 (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 (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 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 (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 _ _ 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 (17))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (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.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 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 (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 t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (1)) (hx (16))
have t5 : 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 _ _ 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 (18))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (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.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 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 (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 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 (7)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (6)) (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 (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (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.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.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 (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
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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (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 (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (13)
try rw [show (0) + (13) + 1 + (6) = 20 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (7)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (6)) (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 (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (14)
try rw [show (0) + (14) + 1 + (6) = 21 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 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 (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 (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (1)) (hx (20))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (18))) := O.mul_nonneg _ _ (hx (6)) (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 =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (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 (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
have t3 : 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 _ _ 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 (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 (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (1)
try rw [show (1) + (1) + 1 + (6) = 9 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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)
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 (5)) (Zs K x (7))) (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 (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.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 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 (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 (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 (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.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))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (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 (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 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 (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 (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 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 (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 (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.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 (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 (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (5)) (Zs K x (7))) (Zs K x (16))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (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 (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 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 (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 (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.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 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 (5)) (Zs K x (7))) (Zs K x (18))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (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.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 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 (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 (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 (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.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 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 (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 (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 (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.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 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 (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 (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 _ _ 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 (22))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 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 (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 23))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 15))
have t3 : 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 _ _ 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 (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 (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 (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 (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (1)
try rw [show (2) + (1) + 1 + (6) = 10 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (10))))) := A1.Dn K O x hD (2) (7) (2) (3) (4) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.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 (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 (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 (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.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 (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 (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 (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 (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.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 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 (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 (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 (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.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 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 (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 (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.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 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 (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 (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.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 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 (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 (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.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 (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 (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 (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 (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.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 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 (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 (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 (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.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 (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 (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 (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 (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 (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 (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 (1)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (0)) (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 (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 (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 (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.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 (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 (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 (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 (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.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 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 =>
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 (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 (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (20)
try rw [show (0) + (20) + 1 + (1) = 22 by lib_nat] at h
try rw [show (0) + (20) + 1 = 21 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 (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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (23))) := O.mul_nonneg _ _ (hx (0)) (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 _ _ 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 (23))) (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 (9))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (13)
try rw [show (1) + (13) + 1 + (7) = 22 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (13)
try rw [show (3) + (13) + 1 + (5) = 22 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (24))) := O.mul_nonneg _ _ (hx (0)) (hx (23))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 + 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 + 24))) (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 (9))))))
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 (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (4)
try rw [show (3) + (4) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 _ _ 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 (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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (11))))) := A1.Dn K O x hD (3) (7) (3) (4) (5) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))))) := A1.Dn K O x hD (7) (3) (7) (8) (9) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (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.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (21))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (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.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 _ _ (A1.nn_add K O _ _ 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 (22))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (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.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 _ _ (A1.nn_add K O _ _ 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 (23))) (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 (10))))))
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 (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (12)
try rw [show (6) + (12) + 1 + (3) = 22 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (12)
try rw [show (8) + (12) + 1 + (1) = 22 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (24))) (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 (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (13)
try rw [show (4) + (13) + 1 + (5) = 23 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (13)
try rw [show (6) + (13) + 1 + (3) = 23 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (23)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (13)
try rw [show (8) + (13) + 1 + (1) = 23 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.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 + 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 + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (6)
try rw [show (2) + (6) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (4)
try rw [show (4) + (4) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (2)
try rw [show (6) + (2) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (10)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (0)
try rw [show (8) + (0) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (12))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (1)
try rw [show (4) + (1) + 1 + (6) = 12 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))))) := A1.Dn K O x hD (4) (7) (4) (5) (6) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.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 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (13))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (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.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (22))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (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.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 _ _ (A1.nn_add K O _ _ 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 (23))) (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (24))) (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 (11))))))
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 (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (12)
try rw [show (7) + (12) + 1 + (3) = 23 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (12)
try rw [show (9) + (12) + 1 + (1) = 23 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (25))) (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 (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (13)
try rw [show (5) + (13) + 1 + (5) = 24 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (13)
try rw [show (7) + (13) + 1 + (3) = 24 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (24)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (13)
try rw [show (9) + (13) + 1 + (1) = 24 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.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 + 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 + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (6)
try rw [show (3) + (6) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (4)
try rw [show (5) + (4) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (2)
try rw [show (7) + (2) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (11)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (0)
try rw [show (9) + (0) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (1)
try rw [show (5) + (1) + 1 + (6) = 13 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))))) := A1.Dn K O x hD (5) (7) (5) (6) (7) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.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 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 (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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (23))) (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (24))) (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (25))) (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 (12))))))
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 (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (12)
try rw [show (6) + (12) + 1 + (5) = 24 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (12)
try rw [show (8) + (12) + 1 + (3) = 24 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (24)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (12)
try rw [show (10) + (12) + 1 + (1) = 24 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (26))) (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 (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (13)
try rw [show (6) + (13) + 1 + (5) = 25 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (13)
try rw [show (8) + (13) + 1 + (3) = 25 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (25)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (13)
try rw [show (10) + (13) + 1 + (1) = 25 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (6)
try rw [show (4) + (6) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (4)
try rw [show (6) + (4) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (2)
try rw [show (8) + (2) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (12)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (0)
try rw [show (10) + (0) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (1)
try rw [show (6) + (1) + 1 + (6) = 14 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))))) := A1.Dn K O x hD (6) (7) (6) (7) (8) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.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 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 (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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (24))) (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (25))) (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (26))) (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 (13))))))
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 (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (12)
try rw [show (7) + (12) + 1 + (5) = 25 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (12)
try rw [show (9) + (12) + 1 + (3) = 25 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (25)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (12)
try rw [show (11) + (12) + 1 + (1) = 25 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (27))) (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 (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (13)
try rw [show (7) + (13) + 1 + (5) = 26 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (13)
try rw [show (9) + (13) + 1 + (3) = 26 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (26)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (13)
try rw [show (11) + (13) + 1 + (1) = 26 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (6)
try rw [show (5) + (6) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (4)
try rw [show (7) + (4) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (2)
try rw [show (9) + (2) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (13)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (0)
try rw [show (11) + (0) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (15))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (1)
try rw [show (7) + (1) + 1 + (6) = 15 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))))) := A1.Dn K O x hD (7) (7) (7) (8) (9) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.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 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 (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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (25))) (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (26))) (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (27))) (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 (14))))))
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 (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (12)
try rw [show (8) + (12) + 1 + (5) = 26 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 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 (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (12)
try rw [show (10) + (12) + 1 + (3) = 26 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (26)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (12)
try rw [show (12) + (12) + 1 + (1) = 26 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (28))) (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 (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (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 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 (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (13)
try rw [show (8) + (13) + 1 + (5) = 27 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (13)
try rw [show (10) + (13) + 1 + (3) = 27 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (13)
try rw [show (12) + (13) + 1 + (1) = 27 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (6)
try rw [show (6) + (6) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (4)
try rw [show (8) + (4) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (2)
try rw [show (10) + (2) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (14)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (0)
try rw [show (12) + (0) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (16))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (1)
try rw [show (8) + (1) + 1 + (6) = 16 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))))) := A1.Dn K O x hD (8) (7) (8) (9) (10) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.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 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 (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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (26))) (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (27))) (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 (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.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 _ _ (A1.nn_add K O _ _ 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 (28))) (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 (15))))))
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 (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (12)
try rw [show (9) + (12) + 1 + (5) = 27 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (12)
try rw [show (11) + (12) + 1 + (3) = 27 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (27)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (12)
try rw [show (13) + (12) + 1 + (1) = 27 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (29))) (K.neg (K.mul (K.add (K.add (K.add (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (13)
try rw [show (9) + (13) + 1 + (5) = 28 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 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 (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (13)
try rw [show (11) + (13) + 1 + (3) = 28 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (13)
try rw [show (13) + (13) + 1 + (1) = 28 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 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 + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (6)
try rw [show (7) + (6) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (4)
try rw [show (9) + (4) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (2)
try rw [show (11) + (2) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (15)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (0)
try rw [show (13) + (0) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (17))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (1)
try rw [show (9) + (1) + 1 + (6) = 17 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 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 (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 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 (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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ 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 (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 (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.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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (26))) (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 (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.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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (27))) (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 (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.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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (28))) (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 (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.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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (29))) (K.neg (K.mul (K.add (K.add (K.add (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 (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 (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (12)
try rw [show (10) + (12) + 1 + (5) = 28 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 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 (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (12)
try rw [show (12) + (12) + 1 + (3) = 28 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (28)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (12)
try rw [show (14) + (12) + 1 + (1) = 28 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (30))) (K.neg (K.mul (K.add (K.add (K.add (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (13)
try rw [show (10) + (13) + 1 + (5) = 29 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 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 (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (13)
try rw [show (12) + (13) + 1 + (3) = 29 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (13)
try rw [show (14) + (13) + 1 + (1) = 29 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 31))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (w + 30))) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (6)
try rw [show (8) + (6) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (4)
try rw [show (10) + (4) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (2)
try rw [show (12) + (2) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (0)
try rw [show (14) + (0) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (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 (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 (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 t1 : 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 t2 : 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 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 (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 (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 (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.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 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.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 _ _ 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 (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 (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 (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 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 (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 t3 : 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 _ _ 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 (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 (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 (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 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 (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 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 (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 t3 : 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 _ _ 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 (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 (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 (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 (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 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 (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 t3 : 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 _ _ 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 (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 (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 (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 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 (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 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 (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 t3 : 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 _ _ 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 (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 (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 (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 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 (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 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 (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 t3 : 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 _ _ 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 (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 (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 (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 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 (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 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 (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 t3 : 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 _ _ 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 (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 (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 (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 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 (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 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 (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 t3 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (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 (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 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 (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 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 (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 t3 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (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 (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 t1 : 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 t2 : 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 t3 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (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 (10)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (11)
try rw [show (9) + (11) + 1 + (7) = 28 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 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 (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 t2 : 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 t3 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (12)
try rw [show (9) + (12) + 1 + (7) = 29 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 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 (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (12)
try rw [show (11) + (12) + 1 + (5) = 29 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 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 (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (12)
try rw [show (13) + (12) + 1 + (3) = 29 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 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.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (12)
try rw [show (15) + (12) + 1 + (1) = 29 by lib_nat] at h
try rw [show (15) + (12) + 1 = 28 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (28))) (Zs K x (30))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (13)
try rw [show (9) + (13) + 1 + (7) = 30 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 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 (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (13)
try rw [show (11) + (13) + 1 + (5) = 30 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 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 (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (13)
try rw [show (13) + (13) + 1 + (3) = 30 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 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.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (13)
try rw [show (15) + (13) + 1 + (1) = 30 by lib_nat] at h
try rw [show (15) + (13) + 1 = 29 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 (w + 32))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 25)) (Zs K x (w + 27))) (Zs K x (w + 29))) (Zs K x (w + 31))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (6)
try rw [show (9) + (6) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (4)
try rw [show (11) + (4) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (2)
try rw [show (13) + (2) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (15) (0)
try rw [show (15) + (0) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (w + 15) = w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (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 (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (1)
try rw [show (11) + (1) + 1 + (6) = 19 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 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 (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 (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (1)
try rw [show (10) + (1) + 1 + (7) = 19 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (2) (16) (0)
try rw [show (16) + (0) + 1 + (2) = 19 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (2) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (2)
try rw [show (10) + (2) + 1 + (7) = 20 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (2)
try rw [show (14) + (2) + 1 + (3) = 20 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (3) (16) (0)
try rw [show (16) + (0) + 1 + (3) = 20 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (3) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (18))))))
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 (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 t1 : 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 t2 : 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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (2)
try rw [show (14) + (2) + 1 + (4) = 21 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (4) (16) (0)
try rw [show (16) + (0) + 1 + (4) = 21 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (4) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (18))))))
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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (4)
try rw [show (12) + (4) + 1 + (5) = 22 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (2)
try rw [show (14) + (2) + 1 + (5) = 22 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (5) (16) (0)
try rw [show (16) + (0) + 1 + (5) = 22 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (5) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (18))))))
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 (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 t1 : 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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (4)
try rw [show (12) + (4) + 1 + (6) = 23 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 t2 : 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 (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (2)
try rw [show (14) + (2) + 1 + (6) = 23 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (6) (16) (0)
try rw [show (16) + (0) + 1 + (6) = 23 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (6) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (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 t1 : 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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (4)
try rw [show (12) + (4) + 1 + (7) = 24 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 t2 : 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 (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (2)
try rw [show (14) + (2) + 1 + (7) = 24 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (24)))))) := by
have h := A2.mk K O x hT (7) (16) (0)
try rw [show (16) + (0) + 1 + (7) = 24 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (7) = 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (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 t1 : 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 (21)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (7)
try rw [show (12) + (7) + 1 + (5) = 25 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 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 t2 : 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 (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (7)
try rw [show (14) + (7) + 1 + (3) = 25 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (7)
try rw [show (16) + (7) + 1 + (1) = 25 by lib_nat] at h
try rw [show (16) + (7) + 1 = 24 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (8)
try rw [show (12) + (8) + 1 + (5) = 26 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 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 t2 : 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 (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (8)
try rw [show (14) + (8) + 1 + (3) = 26 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (8)
try rw [show (16) + (8) + 1 + (1) = 26 by lib_nat] at h
try rw [show (16) + (8) + 1 = 25 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (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 (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (28))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (9)
try rw [show (12) + (9) + 1 + (5) = 27 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 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 t2 : 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 (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (9)
try rw [show (14) + (9) + 1 + (3) = 27 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (9)
try rw [show (16) + (9) + 1 + (1) = 27 by lib_nat] at h
try rw [show (16) + (9) + 1 = 26 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (18))))))
have t0 : 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 t1 : 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 (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (10)
try rw [show (12) + (10) + 1 + (5) = 28 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 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 t2 : 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 (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (10)
try rw [show (14) + (10) + 1 + (3) = 28 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (10)
try rw [show (16) + (10) + 1 + (1) = 28 by lib_nat] at h
try rw [show (16) + (10) + 1 = 27 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (11)
try rw [show (10) + (11) + 1 + (7) = 29 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (11)
try rw [show (12) + (11) + 1 + (5) = 29 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (11)
try rw [show (14) + (11) + 1 + (3) = 29 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (11)
try rw [show (16) + (11) + 1 + (1) = 29 by lib_nat] at h
try rw [show (16) + (11) + 1 = 28 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (28))) (Zs K x (30))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (12)
try rw [show (10) + (12) + 1 + (7) = 30 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (12)
try rw [show (12) + (12) + 1 + (5) = 30 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (12)
try rw [show (14) + (12) + 1 + (3) = 30 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (12)
try rw [show (16) + (12) + 1 + (1) = 30 by lib_nat] at h
try rw [show (16) + (12) + 1 = 29 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (32))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (29))) (Zs K x (31))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (32))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (13)
try rw [show (10) + (13) + 1 + (7) = 31 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (13)
try rw [show (12) + (13) + 1 + (5) = 31 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (32))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (13)
try rw [show (14) + (13) + 1 + (3) = 31 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (13)
try rw [show (16) + (13) + 1 + (1) = 31 by lib_nat] at h
try rw [show (16) + (13) + 1 = 30 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 (w + 33))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 26)) (Zs K x (w + 28))) (Zs K x (w + 30))) (Zs K x (w + 32))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (6)
try rw [show (10) + (6) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (10) + (6) + 1 = 17 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (4)
try rw [show (12) + (4) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (2)
try rw [show (14) + (2) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 32)))))) := by
have h := A2.mk K O x hT (w + 15) (16) (0)
try rw [show (16) + (0) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (w + 15) = w + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (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 (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (1)
try rw [show (12) + (1) + 1 + (6) = 20 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (2) (16) (1)
try rw [show (16) + (1) + 1 + (2) = 20 by lib_nat] at h
try rw [show (16) + (1) + 1 = 18 by lib_nat] at h
try rw [show (16) + (2) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (21))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (1)
try rw [show (11) + (1) + 1 + (7) = 20 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (2) (17) (0)
try rw [show (17) + (0) + 1 + (2) = 20 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (2) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (22))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (2)
try rw [show (11) + (2) + 1 + (7) = 21 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (2)
try rw [show (15) + (2) + 1 + (3) = 21 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (3) (17) (0)
try rw [show (17) + (0) + 1 + (3) = 21 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (3) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (23))) (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 (19))))))
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 (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 t1 : 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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (3)
try rw [show (13) + (3) + 1 + (5) = 22 by lib_nat] at h
try rw [show (13) + (3) + 1 = 17 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 t2 : 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 (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (2)
try rw [show (15) + (2) + 1 + (4) = 22 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (4) (17) (0)
try rw [show (17) + (0) + 1 + (4) = 22 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (4) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (24))) (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 (19))))))
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 (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 t1 : 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 (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (4)
try rw [show (13) + (4) + 1 + (5) = 23 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t2 : 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 (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (2)
try rw [show (15) + (2) + 1 + (5) = 23 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (5) (17) (0)
try rw [show (17) + (0) + 1 + (5) = 23 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (5) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (25))) (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 (19))))))
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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (5)
try rw [show (11) + (5) + 1 + (7) = 24 by lib_nat] at h
try rw [show (11) + (5) + 1 = 17 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 t1 : 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 (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (4)
try rw [show (13) + (4) + 1 + (6) = 24 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t2 : 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 (19)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (6) (15) (2)
try rw [show (15) + (2) + 1 + (6) = 24 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (24)))))) := by
have h := A2.mk K O x hT (6) (17) (0)
try rw [show (17) + (0) + 1 + (6) = 24 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (6) = 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (26))) (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 (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (6)
try rw [show (11) + (6) + 1 + (7) = 25 by lib_nat] at h
try rw [show (11) + (6) + 1 = 18 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (4)
try rw [show (13) + (4) + 1 + (7) = 25 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t2 : 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 (19)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (7) (15) (2)
try rw [show (15) + (2) + 1 + (7) = 25 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (25)))))) := by
have h := A2.mk K O x hT (7) (17) (0)
try rw [show (17) + (0) + 1 + (7) = 25 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (7) = 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (27))) (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 (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (7)
try rw [show (11) + (7) + 1 + (7) = 26 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 (22)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (7)
try rw [show (13) + (7) + 1 + (5) = 26 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 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 t2 : 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 (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (7)
try rw [show (15) + (7) + 1 + (3) = 26 by lib_nat] at h
try rw [show (15) + (7) + 1 = 23 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (7)
try rw [show (17) + (7) + 1 + (1) = 26 by lib_nat] at h
try rw [show (17) + (7) + 1 = 25 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (28))) (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 (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (8)
try rw [show (11) + (8) + 1 + (7) = 27 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 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 t1 : 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 (23)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (8)
try rw [show (13) + (8) + 1 + (5) = 27 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 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 t2 : 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 (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (8)
try rw [show (15) + (8) + 1 + (3) = 27 by lib_nat] at h
try rw [show (15) + (8) + 1 = 24 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (8)
try rw [show (17) + (8) + 1 + (1) = 27 by lib_nat] at h
try rw [show (17) + (8) + 1 = 26 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (9)
try rw [show (11) + (9) + 1 + (7) = 28 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 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 t1 : 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 (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (9)
try rw [show (13) + (9) + 1 + (5) = 28 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 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 t2 : 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 (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (9)
try rw [show (15) + (9) + 1 + (3) = 28 by lib_nat] at h
try rw [show (15) + (9) + 1 = 25 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (9)
try rw [show (17) + (9) + 1 + (1) = 28 by lib_nat] at h
try rw [show (17) + (9) + 1 = 27 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (10)
try rw [show (11) + (10) + 1 + (7) = 29 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (10)
try rw [show (13) + (10) + 1 + (5) = 29 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (10)
try rw [show (15) + (10) + 1 + (3) = 29 by lib_nat] at h
try rw [show (15) + (10) + 1 = 26 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (10)
try rw [show (17) + (10) + 1 + (1) = 29 by lib_nat] at h
try rw [show (17) + (10) + 1 = 28 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (28))) (Zs K x (30))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (11)
try rw [show (11) + (11) + 1 + (7) = 30 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (11)
try rw [show (13) + (11) + 1 + (5) = 30 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (11)
try rw [show (15) + (11) + 1 + (3) = 30 by lib_nat] at h
try rw [show (15) + (11) + 1 = 27 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (11)
try rw [show (17) + (11) + 1 + (1) = 30 by lib_nat] at h
try rw [show (17) + (11) + 1 = 29 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (32))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (29))) (Zs K x (31))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (32))) (K.neg (K.mul (Zs K x (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (12)
try rw [show (11) + (12) + 1 + (7) = 31 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (12)
try rw [show (13) + (12) + 1 + (5) = 31 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (32))) (K.neg (K.mul (Zs K x (29)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (12)
try rw [show (15) + (12) + 1 + (3) = 31 by lib_nat] at h
try rw [show (15) + (12) + 1 = 28 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (12)
try rw [show (17) + (12) + 1 + (1) = 31 by lib_nat] at h
try rw [show (17) + (12) + 1 = 30 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (33))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (30))) (Zs K x (32))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (33))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (13)
try rw [show (11) + (13) + 1 + (7) = 32 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (33))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (13)
try rw [show (13) + (13) + 1 + (5) = 32 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (33))) (K.neg (K.mul (Zs K x (30)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (13)
try rw [show (15) + (13) + 1 + (3) = 32 by lib_nat] at h
try rw [show (15) + (13) + 1 = 29 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 t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (33))) (K.neg (K.mul (Zs K x (32)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (13)
try rw [show (17) + (13) + 1 + (1) = 32 by lib_nat] at h
try rw [show (17) + (13) + 1 = 31 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 (w + 34))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 27)) (Zs K x (w + 29))) (Zs K x (w + 31))) (Zs K x (w + 33))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (6)
try rw [show (11) + (6) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (11) + (6) + 1 = 18 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (4)
try rw [show (13) + (4) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (15) (2)
try rw [show (15) + (2) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 by lib_nat] at h
try rw [show (15) + (w + 15) = w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 33)))))) := by
have h := A2.mk K O x hT (w + 15) (17) (0)
try rw [show (17) + (0) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (w + 15) = w + 32 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (6) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (6) = a + 21 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (6) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 18)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (2) (a + 17) (1)
try rw [show (a + 17) + (1) + 1 + (2) = a + 21 by lib_nat] at h
try rw [show (a + 17) + (1) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 17) + (2) = 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 + 20)) (Zs K x (a + 22))) (Zs K x (a + 18))) (K.neg (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 17) (3) (a + 17) (a + 18) (a + 19) (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 + 1 + 1 + (0 + 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 + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 22))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (1)
try rw [show (a + 12) + (1) + 1 + (7) = a + 21 by lib_nat] at h
try rw [show (a + 12) + (1) + 1 = a + 14 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 t1 : 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 + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (1)
try rw [show (a + 14) + (1) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 14) + (1) + 1 = a + 16 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 t2 : 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 + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (1)
try rw [show (a + 16) + (1) + 1 + (3) = a + 21 by lib_nat] at h
try rw [show (a + 16) + (1) + 1 = a + 18 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (2) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (2) = a + 21 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (2) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 23))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 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 t1 : 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 t2 : 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 + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (3) = a + 22 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (3) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (3) = a + 22 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (3) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 24))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (3)
try rw [show (a + 12) + (3) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 12) + (3) + 1 = a + 16 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 t1 : 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 + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (3)
try rw [show (a + 14) + (3) + 1 + (5) = a + 23 by lib_nat] at h
try rw [show (a + 14) + (3) + 1 = a + 18 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 t2 : 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 + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (4) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (4) = a + 23 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (4) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (4) = a + 23 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (4) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 25))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 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 t1 : 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 + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t2 : 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 + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (5) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (5) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (5) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 26))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (5)
try rw [show (a + 12) + (5) + 1 + (7) = a + 25 by lib_nat] at h
try rw [show (a + 12) + (5) + 1 = a + 18 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 t1 : 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 + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (6) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t2 : 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 + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (6) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (6) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (6) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 27))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (7) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t2 : 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 + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (7) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (7) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (7) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 28))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (8) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (8) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t2 : 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 + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (8) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (8) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (8) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 29))) (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 + 20))))))
have t0 : 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 + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (9) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (9) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t2 : 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 + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (9) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (9) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (9) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 30))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 20))))))
have t0 : 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 + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (10) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (10) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t2 : 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 + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (10) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (10) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (10) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 31))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 30))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (11) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (11) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (11) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (11) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (11) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 32))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 31))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (12) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (12) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (12) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 31)))))) := by
have h := A2.mk K O x hT (12) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (12) = a + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 33))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 30))) (Zs K x (a + 32))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (13) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 12) + (13) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (13) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (13) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (13) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (13) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 32)))))) := by
have h := A2.mk K O x hT (13) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (13) = a + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + 34))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 31))) (Zs K x (a + 33))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (14) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 12) + (14) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (14) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (14) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 31)))))) := by
have h := A2.mk K O x hT (14) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (14) = a + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 33)))))) := by
have h := A2.mk K O x hT (14) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (14) = a + 32 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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 + w + 35))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + w + 28)) (Zs K x (a + w + 30))) (Zs K x (a + w + 32))) (Zs K x (a + w + 34))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 12) (6)
try rw [show (a + 12) + (6) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 12) + (6) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 12) + (w + 15) = a + w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (w + 15) = a + w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 32)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (w + 15) = a + w + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 34)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (w + 15) = a + w + 33 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S30.lean
/-
ym/GenA7S30 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg30 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv1 K (fun i => x (i + 3)))) (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 (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 (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.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 (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.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (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.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
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 (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 (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (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.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 (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
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 (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 (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 _ _ 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 (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 (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t2 : 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 _ _ 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 (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.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 (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 _ _ 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 (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.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 (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 _ _ 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 (20))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (7))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))))) := A1.Dn K O x hD (6) (9) (6) (7) (8) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (5)) (hx (15))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (7)) (hx (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 w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (K.add (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 (6)) (Zs K x (17))) := O.mul_nonneg _ _ (hx (5)) (hx (16))
have t2 : 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 _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 22))) (K.neg (K.mul (K.add (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 + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
have t1 : 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 _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (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 (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 (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 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.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 (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 (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 (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.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 (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 (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 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.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 _ _ 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 (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 (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (4)
try rw [show (1) + (4) + 1 + (6) = 12 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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.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 _ _ 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 (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 (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.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (3)
try rw [show (3) + (3) + 1 + (5) = 12 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 _ _ 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 (15))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (3)
try rw [show (3) + (3) + 1 + (6) = 13 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 _ _ 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 (16))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (3)
try rw [show (3) + (3) + 1 + (7) = 14 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 _ _ 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 (17))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (8)
try rw [show (3) + (8) + 1 + (4) = 16 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 _ _ 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 (19))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (9)
try rw [show (3) + (9) + 1 + (4) = 17 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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.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 _ _ 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 (20))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (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.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 _ _ 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 (21))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.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 _ _ 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 (22))) (K.neg (K.mul (K.add (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 (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (12)
try rw [show (3) + (12) + 1 + (4) = 20 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (3)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (K.add (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 (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))) (K.neg (K.mul (K.add (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 (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.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (23))) (K.neg (K.mul (K.add (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 (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (13)
try rw [show (3) + (13) + 1 + (5) = 22 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 24))) (K.neg (K.mul (K.add (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 + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (4)
try rw [show (3) + (4) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))) (K.neg (K.mul (K.add (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 (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (1)
try rw [show (5) + (1) + 1 + (4) = 11 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))))) := A1.Dn K O x hD (5) (5) (5) (6) (7) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (23))) (K.neg (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (12)
try rw [show (6) + (12) + 1 + (3) = 22 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (24))) (K.neg (K.mul (K.add (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 (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (13)
try rw [show (4) + (13) + 1 + (5) = 23 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (13)
try rw [show (6) + (13) + 1 + (3) = 23 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 25))) (K.neg (K.mul (K.add (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 + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (4)
try rw [show (4) + (4) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (2)
try rw [show (6) + (2) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))) (K.neg (K.mul (K.add (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 (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (1)
try rw [show (6) + (1) + 1 + (4) = 12 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (21))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (22))) (K.neg (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (23))) (K.neg (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (24))) (K.neg (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (12)
try rw [show (7) + (12) + 1 + (3) = 23 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (25))) (K.neg (K.mul (K.add (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 (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (13)
try rw [show (5) + (13) + 1 + (5) = 24 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (13)
try rw [show (7) + (13) + 1 + (3) = 24 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 26))) (K.neg (K.mul (K.add (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 + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (4)
try rw [show (5) + (4) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (2)
try rw [show (7) + (2) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))) (K.neg (K.mul (K.add (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 (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (1)
try rw [show (7) + (1) + 1 + (4) = 13 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (23))) (K.neg (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (24))) (K.neg (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (25))) (K.neg (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (12)
try rw [show (6) + (12) + 1 + (5) = 24 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (12)
try rw [show (8) + (12) + 1 + (3) = 24 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (26))) (K.neg (K.mul (K.add (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 (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (13)
try rw [show (6) + (13) + 1 + (5) = 25 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (13)
try rw [show (8) + (13) + 1 + (3) = 25 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 27))) (K.neg (K.mul (K.add (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 + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (4)
try rw [show (6) + (4) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (2)
try rw [show (8) + (2) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))) (K.neg (K.mul (K.add (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 (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (1)
try rw [show (8) + (1) + 1 + (4) = 14 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (23))) (K.neg (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (24))) (K.neg (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (25))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (26))) (K.neg (K.mul (K.add (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 (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (12)
try rw [show (7) + (12) + 1 + (5) = 25 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (12)
try rw [show (9) + (12) + 1 + (3) = 25 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (27))) (K.neg (K.mul (K.add (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 (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (13)
try rw [show (7) + (13) + 1 + (5) = 26 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (13)
try rw [show (9) + (13) + 1 + (3) = 26 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 28))) (K.neg (K.mul (K.add (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 + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (4)
try rw [show (7) + (4) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (2)
try rw [show (9) + (2) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (23))) (K.neg (K.mul (K.add (Zs K x (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (24))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (25))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (26))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (27))) (K.neg (K.mul (K.add (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 (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (12)
try rw [show (8) + (12) + 1 + (5) = 26 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 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 (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (12)
try rw [show (10) + (12) + 1 + (3) = 26 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (28))) (K.neg (K.mul (K.add (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 (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (13)
try rw [show (8) + (13) + 1 + (5) = 27 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (13)
try rw [show (10) + (13) + 1 + (3) = 27 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 29))) (K.neg (K.mul (K.add (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 + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (4)
try rw [show (8) + (4) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (2)
try rw [show (10) + (2) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (10)) (Zs K x (12))) (Zs K x (16))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (10)) (Zs K x (12))) (Zs K x (17))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (18))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (19))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (20))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (21))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (22))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (23))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (24))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (25))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (26))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (27))) (K.neg (K.mul (K.add (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 (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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (28))) (K.neg (K.mul (K.add (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 (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (12)
try rw [show (9) + (12) + 1 + (5) = 27 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (12)
try rw [show (11) + (12) + 1 + (3) = 27 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (10)) (Zs K x (12))) (Zs K x (29))) (K.neg (K.mul (K.add (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 (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (13)
try rw [show (9) + (13) + 1 + (5) = 28 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 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 (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (13)
try rw [show (11) + (13) + 1 + (3) = 28 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 30))) (K.neg (K.mul (K.add (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 + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (4)
try rw [show (9) + (4) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (2)
try rw [show (11) + (2) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (11)) (Zs K x (13))) (Zs K x (17))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (18))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (19))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (20))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (21))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (22))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (23))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (24))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (25))) (K.neg (K.mul (K.add (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (8)
try rw [show (12) + (8) + 1 + (3) = 24 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (11)) (Zs K x (13))) (Zs K x (26))) (K.neg (K.mul (K.add (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (9)
try rw [show (12) + (9) + 1 + (3) = 25 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (11)) (Zs K x (13))) (Zs K x (27))) (K.neg (K.mul (K.add (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (10)
try rw [show (12) + (10) + 1 + (3) = 26 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (11)) (Zs K x (13))) (Zs K x (28))) (K.neg (K.mul (K.add (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (11)
try rw [show (12) + (11) + 1 + (3) = 27 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (11)) (Zs K x (13))) (Zs K x (29))) (K.neg (K.mul (K.add (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 (11)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (12)
try rw [show (10) + (12) + 1 + (5) = 28 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (12)
try rw [show (12) + (12) + 1 + (3) = 28 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (11)) (Zs K x (13))) (Zs K x (30))) (K.neg (K.mul (K.add (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 (11)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (13)
try rw [show (10) + (13) + 1 + (5) = 29 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (13)
try rw [show (12) + (13) + 1 + (3) = 29 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 31))) (K.neg (K.mul (K.add (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 (11)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (4)
try rw [show (10) + (4) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (2)
try rw [show (12) + (2) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (12)) (Zs K x (14))) (Zs K x (18))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (19))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (20))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (21))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (22))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (23))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (24))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (25))) (K.neg (K.mul (K.add (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 (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 t1 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (26))) (K.neg (K.mul (K.add (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 (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 t1 : 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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (12)) (Zs K x (14))) (Zs K x (27))) (K.neg (K.mul (K.add (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 (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 t1 : 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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (12)) (Zs K x (14))) (Zs K x (28))) (K.neg (K.mul (K.add (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 (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 t1 : 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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (12)) (Zs K x (14))) (Zs K x (29))) (K.neg (K.mul (K.add (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 (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 t1 : 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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (12)) (Zs K x (14))) (Zs K x (30))) (K.neg (K.mul (K.add (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 (12)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (12)
try rw [show (11) + (12) + 1 + (5) = 29 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (12)
try rw [show (13) + (12) + 1 + (3) = 29 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (31))) (K.neg (K.mul (K.add (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 (12)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (13)
try rw [show (11) + (13) + 1 + (5) = 30 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (13)
try rw [show (13) + (13) + 1 + (3) = 30 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 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 _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (w + 32))) (K.neg (K.mul (K.add (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 (12)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (4)
try rw [show (11) + (4) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (2)
try rw [show (13) + (2) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (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 t1 : 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (1)
try rw [show (12) + (1) + 1 + (5) = 19 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (2)
try rw [show (14) + (2) + 1 + (3) = 20 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (18))))))
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 (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 t1 : 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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (2)
try rw [show (14) + (2) + 1 + (4) = 21 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (23))) (K.neg (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (18))))))
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 (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (4)
try rw [show (12) + (4) + 1 + (5) = 22 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (2)
try rw [show (14) + (2) + 1 + (5) = 22 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (24))) (K.neg (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (18))))))
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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (4)
try rw [show (12) + (4) + 1 + (6) = 23 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 t1 : 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 (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (2)
try rw [show (14) + (2) + 1 + (6) = 23 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (25))) (K.neg (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (18))))))
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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (4)
try rw [show (12) + (4) + 1 + (7) = 24 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 t1 : 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 (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (2)
try rw [show (14) + (2) + 1 + (7) = 24 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (26))) (K.neg (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (18))))))
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 (21)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (7)
try rw [show (12) + (7) + 1 + (5) = 25 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 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 t1 : 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 (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (7)
try rw [show (14) + (7) + 1 + (3) = 25 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (27))) (K.neg (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (8)
try rw [show (12) + (8) + 1 + (5) = 26 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 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 t1 : 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 (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (8)
try rw [show (14) + (8) + 1 + (3) = 26 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (28))) (K.neg (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (9)
try rw [show (12) + (9) + 1 + (5) = 27 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 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 t1 : 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 (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (9)
try rw [show (14) + (9) + 1 + (3) = 27 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (29))) (K.neg (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (10)
try rw [show (12) + (10) + 1 + (5) = 28 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 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 t1 : 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 (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (10)
try rw [show (14) + (10) + 1 + (3) = 28 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (30))) (K.neg (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (11)
try rw [show (12) + (11) + 1 + (5) = 29 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (11)
try rw [show (14) + (11) + 1 + (3) = 29 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (31))) (K.neg (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (12)
try rw [show (12) + (12) + 1 + (5) = 30 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (12)
try rw [show (14) + (12) + 1 + (3) = 30 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (32))) (K.neg (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (13)
try rw [show (12) + (13) + 1 + (5) = 31 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (32))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (13)
try rw [show (14) + (13) + 1 + (3) = 31 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 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 _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (w + 33))) (K.neg (K.mul (K.add (Zs K x (w + 28)) (Zs K x (w + 30))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (4)
try rw [show (12) + (4) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (2)
try rw [show (14) + (2) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))))))
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 (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 t1 : 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (19))))))
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 (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 t1 : 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
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (14)) (Zs K x (16))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (19))))))
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 (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 t1 : 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 (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (2)
try rw [show (15) + (2) + 1 + (3) = 21 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (23))) (K.neg (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (19))))))
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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (3)
try rw [show (13) + (3) + 1 + (5) = 22 by lib_nat] at h
try rw [show (13) + (3) + 1 = 17 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 t1 : 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 (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (2)
try rw [show (15) + (2) + 1 + (4) = 22 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (24))) (K.neg (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (19))))))
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 (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (4)
try rw [show (13) + (4) + 1 + (5) = 23 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t1 : 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 (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (2)
try rw [show (15) + (2) + 1 + (5) = 23 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (25))) (K.neg (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (19))))))
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 (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (4)
try rw [show (13) + (4) + 1 + (6) = 24 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t1 : 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 (19)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (6) (15) (2)
try rw [show (15) + (2) + 1 + (6) = 24 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (26))) (K.neg (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (19))))))
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 (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (4)
try rw [show (13) + (4) + 1 + (7) = 25 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t1 : 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 (19)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (7) (15) (2)
try rw [show (15) + (2) + 1 + (7) = 25 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (27))) (K.neg (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (19))))))
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 (22)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (7)
try rw [show (13) + (7) + 1 + (5) = 26 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 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 t1 : 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 (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (7)
try rw [show (15) + (7) + 1 + (3) = 26 by lib_nat] at h
try rw [show (15) + (7) + 1 = 23 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (28))) (K.neg (K.mul (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (8)
try rw [show (13) + (8) + 1 + (5) = 27 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 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 t1 : 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 (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (8)
try rw [show (15) + (8) + 1 + (3) = 27 by lib_nat] at h
try rw [show (15) + (8) + 1 = 24 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (29))) (K.neg (K.mul (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (9)
try rw [show (13) + (9) + 1 + (5) = 28 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 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 t1 : 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 (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (9)
try rw [show (15) + (9) + 1 + (3) = 28 by lib_nat] at h
try rw [show (15) + (9) + 1 = 25 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (30))) (K.neg (K.mul (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (10)
try rw [show (13) + (10) + 1 + (5) = 29 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (10)
try rw [show (15) + (10) + 1 + (3) = 29 by lib_nat] at h
try rw [show (15) + (10) + 1 = 26 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (31))) (K.neg (K.mul (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (11)
try rw [show (13) + (11) + 1 + (5) = 30 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (11)
try rw [show (15) + (11) + 1 + (3) = 30 by lib_nat] at h
try rw [show (15) + (11) + 1 = 27 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (32))) (K.neg (K.mul (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (12)
try rw [show (13) + (12) + 1 + (5) = 31 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (32))) (K.neg (K.mul (Zs K x (29)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (12)
try rw [show (15) + (12) + 1 + (3) = 31 by lib_nat] at h
try rw [show (15) + (12) + 1 = 28 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (33))) (K.neg (K.mul (K.add (Zs K x (28)) (Zs K x (30))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (33))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (13)
try rw [show (13) + (13) + 1 + (5) = 32 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (33))) (K.neg (K.mul (Zs K x (30)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (13)
try rw [show (15) + (13) + 1 + (3) = 32 by lib_nat] at h
try rw [show (15) + (13) + 1 = 29 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 _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (w + 34))) (K.neg (K.mul (K.add (Zs K x (w + 29)) (Zs K x (w + 31))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (4)
try rw [show (13) + (4) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (15) (2)
try rw [show (15) + (2) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 by lib_nat] at h
try rw [show (15) + (w + 15) = w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 21))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 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
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 22))) (K.neg (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (1)
try rw [show (a + 14) + (1) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 14) + (1) + 1 = a + 16 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 t1 : 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 + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (1)
try rw [show (a + 16) + (1) + 1 + (3) = a + 21 by lib_nat] at h
try rw [show (a + 16) + (1) + 1 = a + 18 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 23))) (K.neg (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 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 t1 : 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 + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (3) = a + 22 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 24))) (K.neg (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (3)
try rw [show (a + 14) + (3) + 1 + (5) = a + 23 by lib_nat] at h
try rw [show (a + 14) + (3) + 1 = a + 18 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 t1 : 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 + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (4) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (4) = a + 23 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 25))) (K.neg (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (5) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 26))) (K.neg (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (6) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (6) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 27))) (K.neg (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (7) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (7) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 28))) (K.neg (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (8) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (8) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 29))) (K.neg (K.mul (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (9) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (9) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 30))) (K.neg (K.mul (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (10) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (10) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 31))) (K.neg (K.mul (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (11) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (11) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 32))) (K.neg (K.mul (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (12) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (12) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 33))) (K.neg (K.mul (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (13) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (13) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (13) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (13) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 34))) (K.neg (K.mul (K.add (Zs K x (a + 29)) (Zs K x (a + 31))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (14) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (14) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 31)))))) := by
have h := A2.mk K O x hT (14) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (14) = a + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + w + 35))) (K.neg (K.mul (K.add (Zs K x (a + w + 30)) (Zs K x (a + w + 32))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (w + 15) = a + w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 32)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (w + 15) = a + w + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S31.lean
/-
ym/GenA7S31 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg31 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (pv2 K (fun i => x (i + 3))) (fun i => x (i + 6)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (1)
try rw [show (4) + (1) + 1 + (2) = 8 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : 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 _ _ 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 (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 (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.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (10))))) := A1.Dn K O x hD (1) (8) (1) (2) (3) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (9))))) := A1.Dn K O x hD (2) (6) (2) (3) (4) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.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 t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
have t6 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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 (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.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 (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t4 : 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 _ _ t0 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 (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))
have t4 : 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 _ _ t0 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 (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.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 (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 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 (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 (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 (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 (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 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 (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 (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 t2 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (0)) (hx (14))
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 (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (16))) := O.mul_nonneg _ _ (hx (0)) (hx (15))
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 (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.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 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 (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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 (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 (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 (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.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 (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 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 (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 (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 t2 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (19))) := O.mul_nonneg _ _ (hx (0)) (hx (18))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (6)) (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 (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.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 t2 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (20))) := O.mul_nonneg _ _ (hx (0)) (hx (19))
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 =>
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 (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (13)
try rw [show (0) + (13) + 1 + (6) = 20 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (15)
try rw [show (0) + (15) + 1 + (6) = 22 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 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 (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 (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 _ _ t0 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 (21))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (7))))))
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 (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (14)
try rw [show (0) + (14) + 1 + (6) = 21 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 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 (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (16)
try rw [show (0) + (16) + 1 + (6) = 23 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 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 (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 (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : 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 _ _ 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 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (K.add (K.add (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.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 17))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 16))
have t2 : 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 _ _ 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 (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 (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (1)
try rw [show (1) + (1) + 1 + (6) = 9 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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)
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 (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 (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 (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
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 (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 (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 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
have t3 : 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 _ _ 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 (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 (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (4)
try rw [show (1) + (4) + 1 + (6) = 12 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have 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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (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
have t3 : 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 _ _ 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 (21))) (K.neg (K.mul (K.add (K.add (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 (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (12)
try rw [show (2) + (12) + 1 + (5) = 20 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (21))) := O.mul_nonneg _ _ (hx (2)) (hx (20))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ 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 (22))) (K.neg (K.mul (K.add (K.add (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 (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (13)
try rw [show (2) + (13) + 1 + (5) = 21 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (22))) := O.mul_nonneg _ _ (hx (2)) (hx (21))
exact A1.nn_of_eq K O _ _ (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 + 1) + 1 = w + 16 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 + 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 (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ 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 =>
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 (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 (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (23))) (K.neg (K.mul (K.add (K.add (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 (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (13)
try rw [show (3) + (13) + 1 + (5) = 22 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 (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 + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (4)
try rw [show (3) + (4) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (23))) (K.neg (K.mul (K.add (K.add (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 (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (12)
try rw [show (6) + (12) + 1 + (3) = 22 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (12)
try rw [show (8) + (12) + 1 + (1) = 22 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (24))) (K.neg (K.mul (K.add (K.add (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 (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (13)
try rw [show (4) + (13) + 1 + (5) = 23 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (13)
try rw [show (6) + (13) + 1 + (3) = 23 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (13)
try rw [show (8) + (13) + 1 + (1) = 23 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (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 (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 (5)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (4)
try rw [show (4) + (4) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (2)
try rw [show (6) + (2) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (0)
try rw [show (8) + (0) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (24))) (K.neg (K.mul (K.add (K.add (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 (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (12)
try rw [show (7) + (12) + 1 + (3) = 23 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (12)
try rw [show (9) + (12) + 1 + (1) = 23 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (25))) (K.neg (K.mul (K.add (K.add (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 (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (13)
try rw [show (5) + (13) + 1 + (5) = 24 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (13)
try rw [show (7) + (13) + 1 + (3) = 24 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (13)
try rw [show (9) + (13) + 1 + (1) = 24 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 + 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 (11))))))
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 (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (4)
try rw [show (5) + (4) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (2)
try rw [show (7) + (2) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (0)
try rw [show (9) + (0) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (25))) (K.neg (K.mul (K.add (K.add (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 (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (12)
try rw [show (6) + (12) + 1 + (5) = 24 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (12)
try rw [show (8) + (12) + 1 + (3) = 24 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (24)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (12)
try rw [show (10) + (12) + 1 + (1) = 24 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (26))) (K.neg (K.mul (K.add (K.add (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 (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (13)
try rw [show (6) + (13) + 1 + (5) = 25 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (13)
try rw [show (8) + (13) + 1 + (3) = 25 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (25)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (13)
try rw [show (10) + (13) + 1 + (1) = 25 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 + 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 (12))))))
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 (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (4)
try rw [show (6) + (4) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (2)
try rw [show (8) + (2) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (12)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (0)
try rw [show (10) + (0) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (26))) (K.neg (K.mul (K.add (K.add (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 (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (12)
try rw [show (7) + (12) + 1 + (5) = 25 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (12)
try rw [show (9) + (12) + 1 + (3) = 25 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (25)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (12)
try rw [show (11) + (12) + 1 + (1) = 25 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (27))) (K.neg (K.mul (K.add (K.add (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 (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (13)
try rw [show (7) + (13) + 1 + (5) = 26 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (13)
try rw [show (9) + (13) + 1 + (3) = 26 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (26)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (13)
try rw [show (11) + (13) + 1 + (1) = 26 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 + 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 (13))))))
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 (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (4)
try rw [show (7) + (4) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (2)
try rw [show (9) + (2) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (13)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (0)
try rw [show (11) + (0) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (27))) (K.neg (K.mul (K.add (K.add (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 (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (12)
try rw [show (8) + (12) + 1 + (5) = 26 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 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 (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (12)
try rw [show (10) + (12) + 1 + (3) = 26 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (26)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (12)
try rw [show (12) + (12) + 1 + (1) = 26 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (28))) (K.neg (K.mul (K.add (K.add (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 (9)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (13)
try rw [show (8) + (13) + 1 + (5) = 27 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (13)
try rw [show (10) + (13) + 1 + (3) = 27 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (27)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (13)
try rw [show (12) + (13) + 1 + (1) = 27 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 + 29))) (K.neg (K.mul (K.add (K.add (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 (9)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (4)
try rw [show (8) + (4) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (8) + (4) + 1 = 13 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (2)
try rw [show (10) + (2) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 (14)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (0)
try rw [show (12) + (0) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 =>
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 (28))) (K.neg (K.mul (K.add (K.add (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 (10)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (12)
try rw [show (9) + (12) + 1 + (5) = 27 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 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 (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (12)
try rw [show (11) + (12) + 1 + (3) = 27 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (12)
try rw [show (13) + (12) + 1 + (1) = 27 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (29))) (K.neg (K.mul (K.add (K.add (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 (10)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (13)
try rw [show (9) + (13) + 1 + (5) = 28 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 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 (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (13)
try rw [show (11) + (13) + 1 + (3) = 28 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (13)
try rw [show (13) + (13) + 1 + (1) = 28 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 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 + 30))) (K.neg (K.mul (K.add (K.add (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 (10)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (4)
try rw [show (9) + (4) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (2)
try rw [show (11) + (2) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (0)
try rw [show (13) + (0) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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
have t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (1)
try rw [show (10) + (1) + 1 + (5) = 17 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : 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 _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : 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 _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (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 (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (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 t2 : 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 _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (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 (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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (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 t2 : 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 _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (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 (11)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (12)
try rw [show (10) + (12) + 1 + (5) = 28 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (12)
try rw [show (12) + (12) + 1 + (3) = 28 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (12)
try rw [show (14) + (12) + 1 + (1) = 28 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (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 (11)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (13)
try rw [show (10) + (13) + 1 + (5) = 29 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (13)
try rw [show (12) + (13) + 1 + (3) = 29 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (13)
try rw [show (14) + (13) + 1 + (1) = 29 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (w + 31))) (K.neg (K.mul (K.add (K.add (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 (11)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (4)
try rw [show (10) + (4) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (2)
try rw [show (12) + (2) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (0)
try rw [show (14) + (0) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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
have t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (1)
try rw [show (11) + (1) + 1 + (5) = 18 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
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 (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 t1 : 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 t2 : 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 _ _ 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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : 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 _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (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 (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (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 t1 : 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 t2 : 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 _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (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 (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 t1 : 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 t2 : 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 _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (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 (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 t1 : 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 t2 : 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 _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (29))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (12)
try rw [show (11) + (12) + 1 + (5) = 29 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (12)
try rw [show (13) + (12) + 1 + (3) = 29 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (12)
try rw [show (15) + (12) + 1 + (1) = 29 by lib_nat] at h
try rw [show (15) + (12) + 1 = 28 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (30))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (13)
try rw [show (11) + (13) + 1 + (5) = 30 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (13)
try rw [show (13) + (13) + 1 + (3) = 30 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (13)
try rw [show (15) + (13) + 1 + (1) = 30 by lib_nat] at h
try rw [show (15) + (13) + 1 = 29 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (w + 32))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 27)) (Zs K x (w + 29))) (Zs K x (w + 31))) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (4)
try rw [show (11) + (4) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (2)
try rw [show (13) + (2) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (13) + (2) + 1 = 16 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (15) (0)
try rw [show (15) + (0) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (w + 15) = w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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
have t1 : 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 t2 : 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 _ _ 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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (1)
try rw [show (12) + (1) + 1 + (5) = 19 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (2) (16) (0)
try rw [show (16) + (0) + 1 + (2) = 19 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (2) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (2)
try rw [show (14) + (2) + 1 + (3) = 20 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (3) (16) (0)
try rw [show (16) + (0) + 1 + (3) = 20 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (3) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (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 t1 : 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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (2)
try rw [show (14) + (2) + 1 + (4) = 21 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (4) (16) (0)
try rw [show (16) + (0) + 1 + (4) = 21 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (4) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (4)
try rw [show (12) + (4) + 1 + (5) = 22 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (2)
try rw [show (14) + (2) + 1 + (5) = 22 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (5) (16) (0)
try rw [show (16) + (0) + 1 + (5) = 22 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (5) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (4)
try rw [show (12) + (4) + 1 + (6) = 23 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 t1 : 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 (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (2)
try rw [show (14) + (2) + 1 + (6) = 23 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (6) (16) (0)
try rw [show (16) + (0) + 1 + (6) = 23 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (6) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (4)
try rw [show (12) + (4) + 1 + (7) = 24 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 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 t1 : 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 (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (2)
try rw [show (14) + (2) + 1 + (7) = 24 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (24)))))) := by
have h := A2.mk K O x hT (7) (16) (0)
try rw [show (16) + (0) + 1 + (7) = 24 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (7) = 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
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 (21)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (7)
try rw [show (12) + (7) + 1 + (5) = 25 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 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 t1 : 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 (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (7)
try rw [show (14) + (7) + 1 + (3) = 25 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (7)
try rw [show (16) + (7) + 1 + (1) = 25 by lib_nat] at h
try rw [show (16) + (7) + 1 = 24 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (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 (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (8)
try rw [show (12) + (8) + 1 + (5) = 26 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 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 t1 : 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 (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (8)
try rw [show (14) + (8) + 1 + (3) = 26 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (8)
try rw [show (16) + (8) + 1 + (1) = 26 by lib_nat] at h
try rw [show (16) + (8) + 1 = 25 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (27))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (9)
try rw [show (12) + (9) + 1 + (5) = 27 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 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 t1 : 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 (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (9)
try rw [show (14) + (9) + 1 + (3) = 27 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (9)
try rw [show (16) + (9) + 1 + (1) = 27 by lib_nat] at h
try rw [show (16) + (9) + 1 = 26 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (28))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (10)
try rw [show (12) + (10) + 1 + (5) = 28 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 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 t1 : 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 (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (10)
try rw [show (14) + (10) + 1 + (3) = 28 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (10)
try rw [show (16) + (10) + 1 + (1) = 28 by lib_nat] at h
try rw [show (16) + (10) + 1 = 27 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (29))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (11)
try rw [show (12) + (11) + 1 + (5) = 29 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (11)
try rw [show (14) + (11) + 1 + (3) = 29 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (11)
try rw [show (16) + (11) + 1 + (1) = 29 by lib_nat] at h
try rw [show (16) + (11) + 1 = 28 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (30))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (12)
try rw [show (12) + (12) + 1 + (5) = 30 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (12)
try rw [show (14) + (12) + 1 + (3) = 30 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (12)
try rw [show (16) + (12) + 1 + (1) = 30 by lib_nat] at h
try rw [show (16) + (12) + 1 = 29 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (32))) (K.neg (K.mul (K.add (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (31))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (13)
try rw [show (12) + (13) + 1 + (5) = 31 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (32))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (13)
try rw [show (14) + (13) + 1 + (3) = 31 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (13)
try rw [show (16) + (13) + 1 + (1) = 31 by lib_nat] at h
try rw [show (16) + (13) + 1 = 30 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (w + 33))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 28)) (Zs K x (w + 30))) (Zs K x (w + 32))) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (4)
try rw [show (12) + (4) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (2)
try rw [show (14) + (2) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (14) + (2) + 1 = 17 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 32)))))) := by
have h := A2.mk K O x hT (w + 15) (16) (0)
try rw [show (16) + (0) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (w + 15) = w + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (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 (19))))))
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
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (2) (16) (1)
try rw [show (16) + (1) + 1 + (2) = 20 by lib_nat] at h
try rw [show (16) + (1) + 1 = 18 by lib_nat] at h
try rw [show (16) + (2) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : 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 _ _ 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 (14)) (Zs K x (16))) (Zs K x (18))) (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 (19))))))
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 (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 t1 : 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (2) (17) (0)
try rw [show (17) + (0) + 1 + (2) = 20 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (2) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (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 (19))))))
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 (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 t1 : 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 (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (2)
try rw [show (15) + (2) + 1 + (3) = 21 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (3) (17) (0)
try rw [show (17) + (0) + 1 + (3) = 21 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (3) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (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 (19))))))
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 (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (3)
try rw [show (13) + (3) + 1 + (5) = 22 by lib_nat] at h
try rw [show (13) + (3) + 1 = 17 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 t1 : 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 (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (2)
try rw [show (15) + (2) + 1 + (4) = 22 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (4) (17) (0)
try rw [show (17) + (0) + 1 + (4) = 22 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (4) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (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 (19))))))
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 (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (4)
try rw [show (13) + (4) + 1 + (5) = 23 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t1 : 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 (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (2)
try rw [show (15) + (2) + 1 + (5) = 23 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (5) (17) (0)
try rw [show (17) + (0) + 1 + (5) = 23 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (5) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (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 (19))))))
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 (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (4)
try rw [show (13) + (4) + 1 + (6) = 24 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t1 : 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 (19)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (6) (15) (2)
try rw [show (15) + (2) + 1 + (6) = 24 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (24)))))) := by
have h := A2.mk K O x hT (6) (17) (0)
try rw [show (17) + (0) + 1 + (6) = 24 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (6) = 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (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 (19))))))
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 (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (4)
try rw [show (13) + (4) + 1 + (7) = 25 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 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 t1 : 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 (19)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (7) (15) (2)
try rw [show (15) + (2) + 1 + (7) = 25 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (25)))))) := by
have h := A2.mk K O x hT (7) (17) (0)
try rw [show (17) + (0) + 1 + (7) = 25 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (7) = 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (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 (19))))))
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 (22)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (7)
try rw [show (13) + (7) + 1 + (5) = 26 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 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 t1 : 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 (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (7)
try rw [show (15) + (7) + 1 + (3) = 26 by lib_nat] at h
try rw [show (15) + (7) + 1 = 23 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (7)
try rw [show (17) + (7) + 1 + (1) = 26 by lib_nat] at h
try rw [show (17) + (7) + 1 = 25 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (28))) (K.neg (K.mul (K.add (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (27))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (8)
try rw [show (13) + (8) + 1 + (5) = 27 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 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 t1 : 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 (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (8)
try rw [show (15) + (8) + 1 + (3) = 27 by lib_nat] at h
try rw [show (15) + (8) + 1 = 24 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (8)
try rw [show (17) + (8) + 1 + (1) = 27 by lib_nat] at h
try rw [show (17) + (8) + 1 = 26 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (29))) (K.neg (K.mul (K.add (K.add (Zs K x (24)) (Zs K x (26))) (Zs K x (28))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (9)
try rw [show (13) + (9) + 1 + (5) = 28 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 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 t1 : 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 (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (9)
try rw [show (15) + (9) + 1 + (3) = 28 by lib_nat] at h
try rw [show (15) + (9) + 1 = 25 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (9)
try rw [show (17) + (9) + 1 + (1) = 28 by lib_nat] at h
try rw [show (17) + (9) + 1 = 27 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (30))) (K.neg (K.mul (K.add (K.add (Zs K x (25)) (Zs K x (27))) (Zs K x (29))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (10)
try rw [show (13) + (10) + 1 + (5) = 29 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (10)
try rw [show (15) + (10) + 1 + (3) = 29 by lib_nat] at h
try rw [show (15) + (10) + 1 = 26 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (10)
try rw [show (17) + (10) + 1 + (1) = 29 by lib_nat] at h
try rw [show (17) + (10) + 1 = 28 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (31))) (K.neg (K.mul (K.add (K.add (Zs K x (26)) (Zs K x (28))) (Zs K x (30))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (11)
try rw [show (13) + (11) + 1 + (5) = 30 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (11)
try rw [show (15) + (11) + 1 + (3) = 30 by lib_nat] at h
try rw [show (15) + (11) + 1 = 27 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (11)
try rw [show (17) + (11) + 1 + (1) = 30 by lib_nat] at h
try rw [show (17) + (11) + 1 = 29 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (32))) (K.neg (K.mul (K.add (K.add (Zs K x (27)) (Zs K x (29))) (Zs K x (31))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (12)
try rw [show (13) + (12) + 1 + (5) = 31 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (32))) (K.neg (K.mul (Zs K x (29)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (12)
try rw [show (15) + (12) + 1 + (3) = 31 by lib_nat] at h
try rw [show (15) + (12) + 1 = 28 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (12)
try rw [show (17) + (12) + 1 + (1) = 31 by lib_nat] at h
try rw [show (17) + (12) + 1 = 30 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (33))) (K.neg (K.mul (K.add (K.add (Zs K x (28)) (Zs K x (30))) (Zs K x (32))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (33))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (13)
try rw [show (13) + (13) + 1 + (5) = 32 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (33))) (K.neg (K.mul (Zs K x (30)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (13)
try rw [show (15) + (13) + 1 + (3) = 32 by lib_nat] at h
try rw [show (15) + (13) + 1 = 29 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (33))) (K.neg (K.mul (Zs K x (32)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (13)
try rw [show (17) + (13) + 1 + (1) = 32 by lib_nat] at h
try rw [show (17) + (13) + 1 = 31 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (w + 34))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 29)) (Zs K x (w + 31))) (Zs K x (w + 33))) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (4)
try rw [show (13) + (4) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (13) + (4) + 1 = 18 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (15) (2)
try rw [show (15) + (2) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (15) + (2) + 1 = 18 by lib_nat] at h
try rw [show (15) + (w + 15) = w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 33)))))) := by
have h := A2.mk K O x hT (w + 15) (17) (0)
try rw [show (17) + (0) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (w + 15) = w + 32 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + 0 + 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 + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 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
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 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 t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (1) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (1) = a + 20 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (1) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 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 + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (1)
try rw [show (a + 14) + (1) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 14) + (1) + 1 = a + 16 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 t1 : 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 + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (1)
try rw [show (a + 16) + (1) + 1 + (3) = a + 21 by lib_nat] at h
try rw [show (a + 16) + (1) + 1 = a + 18 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (2) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (2) = a + 21 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (2) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 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 + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 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 t1 : 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 + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (3) = a + 22 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (3) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (3) = a + 22 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (3) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 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 + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (3)
try rw [show (a + 14) + (3) + 1 + (5) = a + 23 by lib_nat] at h
try rw [show (a + 14) + (3) + 1 = a + 18 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 t1 : 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 + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (4) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (4) = a + 23 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (4) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (4) = a + 23 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (4) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 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 + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (5) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (5) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (5) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (6) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (6) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (6) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (6) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (7) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (7) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (7) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (7) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (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 + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (8) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (8) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (8) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (8) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 29))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (9) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (9) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (9) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (9) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 30))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 25)) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (10) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : 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 + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (10) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (10) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (10) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 31))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 26)) (Zs K x (a + 28))) (Zs K x (a + 30))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (11) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (11) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (11) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (11) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 32))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 27)) (Zs K x (a + 29))) (Zs K x (a + 31))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (12) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 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 t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (12) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 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
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 31)))))) := by
have h := A2.mk K O x hT (12) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (12) = a + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 33))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 28)) (Zs K x (a + 30))) (Zs K x (a + 32))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (13) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (13) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (13) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (13) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 32)))))) := by
have h := A2.mk K O x hT (13) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (13) = a + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 34))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 29)) (Zs K x (a + 31))) (Zs K x (a + 33))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (14) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (14) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 31)))))) := by
have h := A2.mk K O x hT (14) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (14) = a + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 33)))))) := by
have h := A2.mk K O x hT (14) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (14) = a + 32 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (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 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + w + 35))) (K.neg (K.mul (K.add (K.add (Zs K x (a + w + 30)) (Zs K x (a + w + 32))) (Zs K x (a + w + 34))) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 14) (4)
try rw [show (a + 14) + (4) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 14) + (4) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 14) + (w + 15) = a + w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 32)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 16) (2)
try rw [show (a + 16) + (2) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 16) + (2) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 16) + (w + 15) = a + w + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 34)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (w + 15) = a + w + 33 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
end signs
end GenA7