# HG changeset patch # User Shinji KONO # Date 1649978081 -32400 # Node ID 99b8ea24e6cd9bd29608ffe1577bb4461ec08fc5 # Parent dfcb98151273d917d2eaeacfaf81e4fe19fef859 ... diff -r dfcb98151273 -r 99b8ea24e6cd src/zorn.agda --- a/src/zorn.agda Wed Apr 13 09:54:01 2022 +0900 +++ b/src/zorn.agda Fri Apr 15 08:14:41 2022 +0900 @@ -148,6 +148,24 @@ IChainSet {A} ax = record { od = record { def = λ y → odef A y ∧ IChained A (& (elm ax)) y } ; odmax = & A ; & x record OSup> (A : HOD) {x : Ordinal} (ax : A ∋ * x) : Set n where @@ -184,9 +202,9 @@ -- -- possible three cases in a limit ordinal step -- --- case 1) < goes > x +-- case 1) < goes > x (will contradic in the transfinite induction ) -- case 2) no > x in some chain ( maximal ) --- case 3) countably infinite chain below x +-- case 3) countably infinite chain below x (will be prohibited by sup condtion ) -- Zorn-lemma-3case : { A : HOD } → o∅ o< & A @@ -225,7 +243,7 @@ (subst (λ k → ic-connect (& k) (IChained.iy (proj2 zc5)) ) (me-elm-refl A x) (IChained.ic (proj2 zc5)) ) ) zc6 : elm x < z zc6 = IsStrictPartialOrder.trans PO {x} {me (proj1 zc3)} {me az} zc7 y ¬a ¬b c = tri> z17 (λ eq → z01 (incl (B⊆A z) (is-elm x)) (incl (B⊆A z) (is-elm y))(case1 eq) z15 ) z15 where - z15 : elm y < elm x - z15 = bx-monotonic z {y} {x} c - z17 : elm x < elm y → ⊥ - z17 lt = z01 (incl (B⊆A z) (is-elm x)) (incl (B⊆A z) (is-elm y))(case2 lt) z15 - B-is-total : (z : ZChain A (& A) ) → IsTotalOrderSet (B z) - B-is-total zc = record { isEquivalence = record { refl = refl ; sym = sym ; trans = trans } - ; trans = λ {x} {y} {z} x A (subst (OD.def (od A)) (sym &iso) ax) → ZChain A x ∨ Maximal A zc1 os with prev px (subst (λ k → px o< k) (Oprev.oprev=x op) <-osuc) ... | case2 x = case2 x - ... | case1 x with is-o∅ ( & (Gtx ax )) - ... | yes no-sup = case2 {!!} - ... | no sup = case1 {!!} + ... | case1 x = {!!} zc4 : ZChain A x ∨ Maximal A zc4 with Zorn-lemma-3case 0x = zc1 y>x @@ -364,35 +335,14 @@ ... | tri≈ ¬a b ¬c = {!!} where ... | tri> ¬a ¬b c with ODC.∋-p O A (* x) ... | no ¬Ax = {!!} where - ... | yes ax with is-o∅ (& (Gtx ax)) - ... | yes nogt = ⊥-elim {!!} where -- no larger element, so it is maximal - x-is-maximal : (m : Ordinal) → odef A m → ¬ (* x < * m) - x-is-maximal m am = ¬x (c<→o< {ZChain.max chain} {A} (ZChain.A∋max chain)) (ZChain.y