# HG changeset patch # User Shinji KONO # Date 1667312190 -32400 # Node ID 05f54e16f138411a2511edc5976cb38ff03aa098 # Parent 86a2bfb7222e85793a4de28ee8cd21aaf1039328 z04 done diff -r 86a2bfb7222e -r 05f54e16f138 src/zorn.agda --- a/src/zorn.agda Tue Nov 01 11:57:52 2022 +0900 +++ b/src/zorn.agda Tue Nov 01 23:16:30 2022 +0900 @@ -1408,6 +1408,16 @@ ... | case1 eq = ¬b eq ... | case2 lt = ¬a lt + tri : {n : Level} (u w : Ordinal ) { R : Set n } → ( u o< w → R ) → ( u ≡ w → R ) → ( w o< u → R ) → R + tri {_} u w p q r with trio< u w + ... | tri< a ¬b ¬c = p a + ... | tri≈ ¬a b ¬c = q b + ... | tri> ¬a ¬b c = r c + + or : {n m r : Level } {P : Set n } {Q : Set m} {R : Set r} → P ∨ Q → ( P → R ) → (Q → R ) → R + or (case1 p) p→r q→r = p→r p + or (case2 q) p→r q→r = q→r q + -- ZChain contradicts ¬ Maximal -- @@ -1505,7 +1515,12 @@ is-sup : IsSup A (UnionCF A (cf nmx) (cf-is-≤-monotonic nmx) as0 (ZChain.supf zc) mc) (MinSUP.asm msp1) is-sup = record { x≤sup = λ zy → MinSUP.x≤sup msp1 (chain-mono (cf nmx) (cf-is-≤-monotonic nmx) as0 supf (ZChain.supf-mono zc) (o<→≤ mc ( subst (λ k → k o≤ supf mc) (ChainP.supu=u is-sup1) z51) sc ¬a ¬b c = case2 (case2 c) - not-hasprev : ¬ HasPrev A (UnionCF A (cf nmx) (cf-is-≤-monotonic nmx) as0 supf d) d (cf nmx) - not-hasprev record { ax = ax ; y = y ; ay = ⟪ ua1 , ch-init fc ⟫ ; x=fy = x=fy } = ? + not-hasprev record { ax = ax ; y = y ; ay = ⟪ ua1 , ch-init fc ⟫ ; x=fy = x=fy } = ⊥-elim ( <-irr z31 z30 ) where + z30 : * d < * (cf nmx d) + z30 = proj1 (cf-is-<-monotonic nmx d (MinSUP.asm spd)) + z32 : ( cf nmx (cf nmx y) ≡ supf mc ) ∨ ( * (cf nmx (cf nmx y)) < * (supf mc) ) + z32 = ZChain.fcy