Skip to content

Commit

Permalink
minor generalization (#1504)
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Bruni <brun@itu.dk>
  • Loading branch information
affeldt-aist and hoheinzollern authored Feb 27, 2025
1 parent b709261 commit b1f05da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@

### Generalized

- in `constructive_ereal.v`:
+ lemma `EFin_natmul`

### Deprecated

### Removed
Expand Down
4 changes: 2 additions & 2 deletions reals/constructive_ereal.v
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,8 @@ Proof. by elim: n => //= n ->. Qed.
Lemma enatmul_ninfty n : -oo *+ n.+1 = -oo :> \bar R.
Proof. by elim: n => //= n ->. Qed.

Lemma EFin_natmul (r : R) n : (r *+ n.+1)%:E = r%:E *+ n.+1.
Proof. by elim: n => //= n <-. Qed.
Lemma EFin_natmul (r : R) n : (r *+ n)%:E = r%:E *+ n.
Proof. by case: n => //; elim => //= n <-. Qed.

Lemma mule2n x : x *+ 2 = x + x. Proof. by []. Qed.

Expand Down

0 comments on commit b1f05da

Please sign in to comment.