File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1148,7 +1148,7 @@ instance exists_prop_decidable {p} (P : p → Prop)
11481148 decide := if h : p then decide (P h) else false
11491149 reflects_decide :=
11501150 match hp with
1151- | isTrue h =>
1151+ | isTrue h => show (decide (P h)).Reflects (Exists P) from
11521152 match hP h with
11531153 | isTrue h2 => ⟨h, h2⟩
11541154 | isFalse h2 => fun ⟨_, h2'⟩ => h2 h2'
@@ -1160,7 +1160,7 @@ instance forall_prop_decidable {p} (P : p → Prop)
11601160 decide := if h : p then decide (P h) else true
11611161 reflects_decide :=
11621162 match hp with
1163- | isTrue h =>
1163+ | isTrue h => show (decide (P h)).Reflects (∀ h, P h) from
11641164 match hP h with
11651165 | isTrue h2 => fun _ => hP
11661166 | isFalse h2 => fun al => absurd (al h) h2
You can’t perform that action at this time.
0 commit comments