# HG changeset patch # User Shinji KONO # Date 1649457592 -32400 # Node ID 71436ccbc80462b3e9617f658cddac3ff64196fe # Parent e28b1da1b58d20d1f73ea26beb3eebfaa6e0e13a ... diff -r e28b1da1b58d -r 71436ccbc804 src/zorn.agda --- a/src/zorn.agda Sat Apr 09 07:03:07 2022 +0900 +++ b/src/zorn.agda Sat Apr 09 07:39:52 2022 +0900 @@ -47,181 +47,189 @@ open Element -IsPartialOrderSet : ( A : HOD ) → (_≤_ : (x y : HOD) → Set n ) → Set (suc n) -IsPartialOrderSet A _≤_ = IsPartialOrder _≤A_ _≡A_ where - _≤A_ : (x y : Element A ) → Set n - x ≤A y = elm x ≤ elm y +IsPartialOrderSet : ( A : HOD ) → (_<_ : (x y : HOD) → Set n ) → Set (suc n) +IsPartialOrderSet A _<_ = IsStrictPartialOrder _ ¬a ¬b c = {!!} -- tri> (λ ¬a → proj1 (proj1 (PO-B z x y) ¬a ) (bx-monotonic z {y} {x} c) ) (λ eq → proj2 (proj2 (PO-B z x y) eq ) (bx-monotonic z {y} {x} c)) (bx-monotonic z {y} {x} c) - ZChain→¬SUP : (z : ZChain A (& A) _≤_ ) → ¬ (SUP A (B z) _≤_ ) + ZChain→¬SUP : (z : ZChain A (& A) _<_ ) → ¬ (SUP A (B z) _<_ ) ZChain→¬SUP z sp = ⊥-elim {!!} where z03 : & (SUP.sup sp) o< osuc (& A) z03 = ordtrans (c<→o< (SUP.A∋maximal sp)) <-osuc - z02 : (x : HOD) → B z ∋ x → SUP.sup sp ≤ x → ⊥ - z02 x xe s≤x = z01 (incl (B⊆A z) xe) (SUP.A∋maximal sp) (SUP.x≤sup sp xe) s≤x + z02 : (x : HOD) → B z ∋ x → SUP.sup sp < x → ⊥ + z02 x xe s ¬a ¬b c with osuc-≡< s≤x + ... | tri< a ¬b ¬c = {!!} -- ZChain.¬x≤sup zc1 _ as ( subst (λ k → & sup o< k ) (sym (Oprev.oprev=x op)) a ) + ... | tri> ¬a ¬b c with osuc-≡< s ¬a ¬b c with ODC.∋-p O A (* x) ... | no ¬Ax = {!!} where ... | yes ax with is-o∅ (& (Gtx ax)) ... | yes nogt = ⊥-elim (no-maximal nomx x ⟪ subst (λ k → odef A k) &iso ax , x-is-maximal ⟫ ) where -- no larger element, so it is maximal - x-is-maximal : (m : Ordinal) → odef A m → ¬ (* x ≤ * m) - x-is-maximal m am = ¬x≤m where - ¬x≤m : ¬ (* x ≤ * m) - ¬x≤m x≤m = ∅< {Gtx ax} {* m} ⟪ subst (λ k → odef A k) (sym &iso) am , subst (λ k → * x ≤ k ) (cong (*) (sym &iso)) x≤m ⟫ (≡o∅→=od∅ nogt) + x-is-maximal : (m : Ordinal) → odef A m → ¬ (* x < * m) + x-is-maximal m am = ¬x