# HG changeset patch # User Shinji KONO # Date 1625316029 -32400 # Node ID e423b498f3febeaa360be02242ad536ac08dd789 # Parent a9fc3ece852a54cadbd3bc6e77fed8b4badf5cd5 ... diff -r a9fc3ece852a -r e423b498f3fe src/HyperReal.agda --- a/src/HyperReal.agda Sat Jul 03 14:27:01 2021 +0900 +++ b/src/HyperReal.agda Sat Jul 03 21:40:29 2021 +0900 @@ -49,7 +49,11 @@ n→nxn (suc i) with n→nxn i ... | ⟪ x , zero ⟫ = ⟪ zero , suc x ⟫ ... | ⟪ x , suc y ⟫ = ⟪ suc x , y ⟫ - nid1 : (i : ℕ) → 0 < proj2 ( n→nxn i) → n→nxn (suc i) ≡ ⟪ suc (proj1 ( n→nxn i )) , pred ( proj2 ( n→nxn i )) ⟫ + nid0 : (i : ℕ) → 0 ≡ proj2 (n→nxn i) → n→nxn (suc i) ≡ ⟪ 0 , suc ( proj1 ( n→nxn i )) ⟫ + nid0 zero eq = refl + nid0 (suc i) eq with n→nxn (suc i) + ... | ⟪ x , zero ⟫ = refl + nid1 : (i : ℕ) → 0 < proj2 (n→nxn i) → n→nxn (suc i) ≡ ⟪ suc (proj1 ( n→nxn i )) , pred ( proj2 ( n→nxn i )) ⟫ nid1 (suc i) 0 0