-
Notifications
You must be signed in to change notification settings - Fork 1
Creating Ltac for Proofs Cleanup #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
fma_jacobi_forward_error.v
Outdated
| try apply fprec_lt_femax. | ||
| Qed. | ||
|
|
||
| Ltac FT2R_v_max_bound v n i H0 := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try to make this a lemma
fma_jacobi_forward_error.v
Outdated
| (bpow Zaux.radix2 (femax t) - | ||
| default_abs t) / (1 + default_rel t))%Re. | ||
|
|
||
| Ltac assert_rewrite_pow_apply k rho_ge_0 H0 := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make it as lemma
fma_jacobi_forward_error.v
Outdated
| split; [apply rho_ge_0 | apply Rlt_le, H0]. | ||
|
|
||
|
|
||
| Ltac apply_double_Rmult_le_compat_r_sequence d_mag_ge_0 Rinv_0_lt_compat Rlt_Rminus rho_ge_0 H0 := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make it as lemma
fma_jacobi_forward_error.v
Outdated
| @size_constraint ty n /\ | ||
| input_bound A x0 b. | ||
|
|
||
| Ltac specialize_and_rewrite Hfin n i := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make a lemma
Refactored repetitive proofs by using Ltac and goal selectors in jacob_list_fun_model, inf_norm_properties, and mostly in fma_jacobi_foward_error.