# HG changeset patch # User Shinji KONO # Date 1609232020 -32400 # Node ID cdfdc8bfb3dbd9807837dd4763898280454491e8 # Parent 34fec132be3d0775e23f888bc5578721adfa2e01 ... diff -r 34fec132be3d -r cdfdc8bfb3db agda/root2.agda --- a/agda/root2.agda Tue Dec 29 15:38:52 2020 +0900 +++ b/agda/root2.agda Tue Dec 29 17:53:40 2020 +0900 @@ -55,8 +55,9 @@ open import nat -gcd24' : { n m : ℕ} → n > 1 → m > 1 → n - m > 0 → gcd n m ≡ gcd (n - m) m -gcd24' = {!!} +-- gcd26 : { n m : ℕ} → n > 1 → m > 1 → n - m > 0 → gcd n m ≡ gcd (n - m) m +-- gcd25 : { n m : ℕ} → n > 1 → m > 1 → n - m > 0 → gcd n m ≡ gcd m n +-- gcd27 : { n m : ℕ} → n > 1 → m > 1 → n - m > 0 → gcd n k ≡ k → k ≤ n gcd24 : { n m k : ℕ} → n > 1 → m > 1 → k > 1 → gcd n k ≡ k → gcd m k ≡ k → ¬ ( gcd n m ≡ 1 ) gcd24 {n} {m} {k} 1 gcd1 zero zero (suc j) j0 ≡ 1 + -- i0 = suc i0, o = suc (suc o) → gn = gcd1 i0 (suc i0) (suc o) (suc (suc o)) + gcd21 zero i0 (suc j) j0 o o0 1