# HG changeset patch # User Shinji KONO # Date 1684749985 -32400 # Node ID 619e68271cf82b86e5e30e930528d91f0ce61698 # Parent 302cfb533201cb79a60777849bbb58e71db5a59c ... diff -r 302cfb533201 -r 619e68271cf8 src/OD.agda --- a/src/OD.agda Sat May 20 18:28:22 2023 +0900 +++ b/src/OD.agda Mon May 22 19:06:25 2023 +0900 @@ -261,6 +261,8 @@ lemma {t} (case1 refl) = omax-x _ _ lemma {t} (case2 refl) = omax-y _ _ +-- {x y : HOD} → & (x , y) ≡ omax (& x) (& y) + pair ¬a ¬b c | record { eq = eq1 } = next< (subst (λ k → k o< next o ) (sym eq1) (osuc ¬a ¬b c | record { eq = eq1 } = ? -- next< (subst (λ k → k o< next o ) (sym eq1) (osuc ¬a ¬b c = ⊥-elim ( ¬x<0 c ) -next< : {x y z : Ordinal} → x o< next z → y o< next x → y o< next z -next< {x} {y} {z} x ¬a ¬b c = ⊥-elim (¬nx osuc x o< next x o< next (osuc x) -> next x ≡ osuc z -> z o o< next x -> osuc z o< next x -> next x o< next x -nexto≡ {x} | tri< a ¬b ¬c = ⊥-elim (¬nx osuc x o< next (osuc x) o< next x -> next (osuc x) ≡ osuc z -> z o o< next (osuc x) ... -nexto≡ {x} | tri> ¬a ¬b c = ⊥-elim (¬nx ¬a ¬b c = -- x < y < next y < next x - ⊥-elim ( ¬nx ¬a ¬b c = -- x < y < next y < next x +-- ⊥-elim ( ¬nx ¬a ¬b c with osuc-≡< x≤y -≤next {x} {y} x≤y | tri> ¬a ¬b c | case1 refl = o≤-refl -- x = y < next x -≤next {x} {y} x≤y | tri> ¬a ¬b c | case2 x ¬a ¬b c with osuc-≡< x≤y +-- ≤next {x} {y} x≤y | tri> ¬a ¬b c | case1 refl = o≤-refl -- x = y < next x +-- ≤next {x} {y} x≤y | tri> ¬a ¬b c | case2 x ¬a ¬b c = o≤-refl0 (sym ( x ¬a ¬b c = o≤-refl0 (sym ( x ¬a ¬b c = subst (λ k → osuc x o< k ) nexto≡ (osuc ¬a ¬b c = subst (λ k → osuc x o< k ) nexto≡ (osuc ¬a ¬b c = osuc ¬a ¬b c = subst (λ k → x o< k ) nexto≡ xnx +-- nn ¬a ¬b c = subst (λ k → x o< k ) nexto≡ xnx record OrdinalSubset (maxordinal : Ordinal) : Set (suc n) where field diff -r 302cfb533201 -r 619e68271cf8 src/Ordinals.agda --- a/src/Ordinals.agda Sat May 20 18:28:22 2023 +0900 +++ b/src/Ordinals.agda Mon May 22 19:06:25 2023 +0900 @@ -33,8 +33,8 @@ record IsNext {n : Level } (ord : Set n) (o∅ : ord ) (osuc : ord → ord ) (_o<_ : ord → ord → Set n) (next : ord → ord ) : Set (suc (suc n)) where field x : (x y : HOD) → HOD -< x , y > = (x , x ) , (x , y ) +< x , y > = (x , x) , (x , y) exg-pair : { x y : HOD } → (x , y ) =h= ( y , x ) exg-pair {x} {y} = record { eq→ = left ; eq← = right } where @@ -113,6 +113,11 @@ -- lemma2 : odef (Replace' A (λ a₁ la → < a₁ , b >) ? ) (& < a , b >) -- lemma2 = ? -- replacement← A a A∋a ? +-- & (x , x) o< next (osuc (& x)) +-- & (x , y) o< next (omax (& x) (& y)) +-- & ((x , x) , (x , y)) o< next (omax (next (osuc (& x))) (next (omax (& x) (& y)))) +-- o≤ next (next (omax (& A) (& B))) + data ZFProduct (A B : HOD) : (p : Ordinal) → Set n where ab-pair : {a b : Ordinal } → odef A a → odef B b → ZFProduct A B ( & ( < * a , * b > ) ) @@ -121,10 +126,10 @@ ; odmax = omax (& A) (& B) ; ¬a ¬b b ¬a ¬b b ZFP→ {A} {B} {a} {b} aa bb = subst (λ k → ZFProduct A B k ) (cong₂ (λ j k → & < j , k >) *iso *iso ) ( ab-pair aa bb )