# HG changeset patch # User Shinji KONO # Date 1656295916 -32400 # Node ID 3821048a85524735d017e21dd4dd657da8a90447 # Parent 7629714b4d07db236ccc5b9892293c25d338afe5 ... diff -r 7629714b4d07 -r 3821048a8552 src/OrdUtil.agda --- a/src/OrdUtil.agda Mon Jun 27 08:01:11 2022 +0900 +++ b/src/OrdUtil.agda Mon Jun 27 11:11:56 2022 +0900 @@ -76,6 +76,12 @@ _o≤_ : Ordinal → Ordinal → Set n a o≤ b = a o< osuc b -- (a ≡ b) ∨ ( a o< b ) +o<→≤ : {a b : Ordinal} → a o< b → a o≤ b +o<→≤ {a} {b} lt with trio< a (osuc b) +... | tri< a₁ ¬b ¬c = a₁ +... | tri≈ ¬a b₁ ¬c = ⊥-elim (¬a (ordtrans lt <-osuc ) ) +... | tri> ¬a ¬b c = ⊥-elim (¬a (ordtrans lt <-osuc ) ) + -- o<-irr : { x y : Ordinal } → { lt lt1 : x o< y } → lt ≡ lt1 xo ¬a ¬b y