# HG changeset patch # User Shinji KONO # Date 1658740423 -32400 # Node ID 7fff07748fdea224bb8195fe6cc867bf9e3662d0 # Parent bbf12d61143f21a7c7fe1fd83ad1c8231ca60e2d ... diff -r bbf12d61143f -r 7fff07748fde src/zorn.agda --- a/src/zorn.agda Mon Jul 25 17:53:18 2022 +0900 +++ b/src/zorn.agda Mon Jul 25 18:13:43 2022 +0900 @@ -55,6 +55,9 @@ _<<_ : (x y : Ordinal ) → Set n -- Set n order x << y = * x < * y +_<=_ : (x y : Ordinal ) → Set n -- Set n order +x <= y = (x ≡ y ) ∨ ( * x < * y ) + POO : IsStrictPartialOrder _≡_ _<<_ POO = record { isEquivalence = record { refl = refl ; sym = sym ; trans = trans } ; trans = IsStrictPartialOrder.trans PO @@ -260,8 +263,8 @@ field csupz : FClosure A f (supf u) z supfu=u : supf u ≡ u - fcy (λ lt → <-irr (case2 ct01) lt) (λ eq → <-irr (case1 eq) ct01) ct01 where + ct-ind xa xb {a} {b} (ch-is-sup ua supa fca) (ch-init fcb) with ChainP.fcy (λ lt → <-irr (case2 ct01) lt) (λ eq → <-irr (case1 eq) ct01) ct01 where ct00 : * b < * (supf ua) - ct00 = ChainP.fcy ¬a ¬b c = tri> (λ lt → <-irr (case2 ct04) lt) (λ eq → <-irr (case1 (eq)) ct04) ct04 where + ct-ind xa xb {a} {b} (ch-is-sup ua supa fca) (ch-is-sup ub supb fcb) | tri≈ ¬a refl ¬c = fcn-cmp (supf ua) f mf fca fcb + ct-ind xa xb {a} {b} (ch-is-sup ua supa fca) (ch-is-sup ub supb fcb) | tri> ¬a ¬b c with ChainP.order supa c (ChainP.csupz supb) + ... | case1 eq = ? + ... | case2 lt = tri> (λ lt → <-irr (case2 ct04) lt) (λ eq → <-irr (case1 (eq)) ct04) ct04 where ct05 : * b < * (supf ua) - ct05 = ChainP.order supa c (ChainP.csupz supb) + ct05 = lt ct04 : * b < * a ct04 with s≤fc (supf ua) f mf fca ... | case1 eq = subst (λ k → * b < k ) eq ct05 @@ -469,7 +480,7 @@ ... | ch-is-sup u is-sup-a fc with trio< u px ... | tri< a ¬b ¬c = ⟪ proj1 ua , ch-is-sup u is-sup-a fc ⟫ -- u o< osuc x ... | tri≈ ¬a u=px ¬c = ⟪ proj1 ua , ch-is-sup u is-sup-a fc ⟫ - ... | tri> ¬a ¬b c = ⊥-elim (<-irr u≤a (ptrans a ¬a ¬b c = ⊥-elim (<-irr u≤a (ptrans a ¬a ¬b c = spi + isupf z = spi sp = ysup f mf ay cy : odef (UnionCF A f mf ay isupf o∅) y cy = ⟪ ay , ch-init (init ay) ⟫ @@ -630,18 +638,7 @@ uz01 = chain-total A f mf ay isupf (proj2 ca) (proj2 cb) csupf : {z : Ordinal} → odef (UnionCF A f mf ay isupf o∅) (isupf z) - csupf {z} with trio< z spi - ... | tri< a ¬b ¬c = ⟪ ay , ch-init (init ay ) ⟫ - ... | tri≈ ¬a b ¬c = ? - ... | tri> ¬a ¬b c = ⟪ SUP.A∋maximal sp , ch-is-sup spi ? ? ⟫ where - uz03 : {z : Ordinal} → FClosure A f y z → z << isupf spi - uz03 {z} fcz with SUP.x