# HG changeset patch # User Shinji KONO # Date 1648953241 -32400 # Node ID fea0c2454b85982d2908786b0dd7ec8462de0449 # Parent c6346d92f1a19db6f964e7e31040b644e202097e ... diff -r c6346d92f1a1 -r fea0c2454b85 src/filter.agda --- a/src/filter.agda Sun Apr 03 07:59:55 2022 +0900 +++ b/src/filter.agda Sun Apr 03 11:34:01 2022 +0900 @@ -179,9 +179,28 @@ field mf : Filter LP proper : ¬ (filter mf ∋ od∅) - is-maximum : ( f : Filter LP ) → filter f ⊆ filter mf + is-maximum : ( f : Filter LP ) → ¬ ( filter mf ⊆ filter f ) max→ultra : {L P : HOD} (LP : L ⊆ Power P) → (mx : MaximumFilter LP ) → ultra-filter ( MaximumFilter.mf mx ) -max→ultra {L} {P} LP mx = record { proper = {!!} ; ultra = {!!} } +max→ultra {L} {P} LP mx = record { proper = MaximumFilter.proper mx ; ultra = ultra } where + mf = MaximumFilter.mf mx + ultra : {p : HOD} → L ∋ p → L ∋ (P \ p) → (filter mf ∋ p) ∨ (filter mf ∋ (P \ p)) + ultra {p} lp lnp with ∋-p (filter mf) p + ... | yes y = case1 y + ... | no np with ∋-p (filter mf) (P \ p) + ... | yes y = case2 y + ... | no n-p = ⊥-elim (MaximumFilter.is-maximum mx FisFilter {!!} ) where + Y : (y : Ordinal) → (my : odef (filter mf) y ) → HOD + Y y my = record { od = record { def = λ x → (x ≡ y) ∨ (x ≡ & p) } ; odmax = & L ;