Skip to content

Commit

Permalink
Merge pull request #2043 from Alizter/ps/rr/fix__proof_of_equiv_leq_l…
Browse files Browse the repository at this point in the history
…t_or_eq

Fix: proof of equiv_leq_lt_or_eq
  • Loading branch information
Alizter authored Aug 4, 2024
2 parents 59e94fd + 8a0d5a4 commit f367ba9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions theories/Spaces/Nat/Core.v
Original file line number Diff line number Diff line change
Expand Up @@ -854,8 +854,9 @@ Defined.
Definition equiv_leq_lt_or_eq {n m} : (n <= m) <~> (n < m) + (n = m).
Proof.
srapply equiv_iff_hprop.
- rapply ishprop_sum.
intros H1 H2.
- nrapply ishprop_sum.
1,2: exact _.
intros H1 p; destruct p.
contradiction (lt_irrefl _ _).
- intro l; induction l.
+ now right.
Expand Down

0 comments on commit f367ba9

Please sign in to comment.