# HG changeset patch # User Shinji KONO # Date 1650014824 -32400 # Node ID ec84dce16697a697f4e4a781f1aa45ebd485527b # Parent 72ea26339f66787156bde24879ddecffc25f479e ... diff -r 72ea26339f66 -r ec84dce16697 src/zorn.agda --- a/src/zorn.agda Fri Apr 15 16:46:54 2022 +0900 +++ b/src/zorn.agda Fri Apr 15 18:27:04 2022 +0900 @@ -167,13 +167,23 @@ c-infinite : (y : Ordinal ) → (cy : odef (IChainSet {A} (me ax)) y ) → IChainSup> A ax +open import Data.Nat hiding (_<_) +import Data.Nat.Properties as NP +open import nat + data Chain (A : HOD) (next : (x : Ordinal ) → odef A x → Ordinal ) : ( x : Ordinal ) → Set n where - cfirst : {x : Ordinal } → odef A x → Chain A next x - csuc : {x : Ordinal } → (ax : odef A x ) → Chain A next x → Chain A next (next x ax ) + cfirst : (x : Ordinal ) → odef A x → Chain A next x + csuc : (x : Ordinal ) → (ax : odef A x ) → Chain A next x → Chain A next (next x ax ) ChainClosure : (A : HOD) → (next : (x : Ordinal ) → odef A x → Ordinal ) → HOD ChainClosure A next = record { od = record { def = λ x → Chain A next x } ; odmax = {!!} ; .y ( InFiniteIChain.c-infinite ifc y ay ) ) @@ -186,8 +196,13 @@ ; trans = λ {x} {y} {z} → IsStrictPartialOrder.trans IPO {x} {y} {z} ; compare = cmp } where IPO : IsPartialOrderSet (InFCSet A ax ifc ) IPO = ⊆-IsPartialOrderSet record { incl = λ {x} lt → {!!} } PO + cnext : (y : Ordinal ) → odef (IChainSet {A} (me ax)) y → Ordinal + cnext y ay = IChainSup>.y ( InFiniteIChain.c-infinite ifc y ay ) cmp : Trichotomous _ _ - cmp x y = {!!} + cmp x y with NP.<-cmp (cton (IChainSet {A} (me ax)) cnext x) (cton (IChainSet {A} (me ax)) cnext y) + ... | tri< a ¬b ¬c = {!!} + ... | tri≈ ¬a b ¬c = {!!} + ... | tri> ¬a ¬b c = {!!} record IsFC (A : HOD) {x : Ordinal} (ax : A ∋ * x) (y : Ordinal) : Set n where