Advertisement
Guest User

Untitled

a guest
Aug 29th, 2020
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Require Export Coq.Reals.RIneq.
  2. Require Export Coq.Reals.R_sqrt.
  3. Require Export Coq.Reals.Rpower.
  4.  
  5. Local Open Scope Z_scope.
  6. Local Open Scope R_scope.
  7.  
  8. About Rplus_eq_reg_l.
  9.  
  10. Example test: forall a b:R, Rsqr (a + b) = Rsqr a + 2*a*b + Rsqr b.
  11. Proof. intros.
  12. unfold Rsqr.
  13. rewrite Rmult_plus_distr_r.
  14. rewrite Rmult_plus_distr_l.
  15. rewrite Rmult_plus_distr_l.
  16. rewrite <- Rplus_assoc.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement