(* Title: HOL/Matrix_LP/Cplex.thy*
Author: Steven Obua
*)
theory Cplex
imports SparseMatrix LP ComputeFloat ComputeNumeral
begin
ML_file \<open>Cplex_tools.ML\<close>
ML_file \<open>CplexMatrixConverter.ML\<close>
ML_file \<open>FloatSparseMatrixBuilder.ML\<close>
ML_file \<open>fspmlp.ML\<close>
lemma spm_mult_le_dual_prts:
assumes
"sorted_sparse_matrix A1"
"sorted_sparse_matrix A2"
"sorted_sparse_matrix c1"
"sorted_sparse_matrix c2"
"sorted_sparse_matrix y"
"sorted_sparse_matrix r1"
"sorted_sparse_matrix r2"
"sorted_spvec b"
"le_spmat [] y"
"sparse_row_matrix A1 \ A"
"A \ sparse_row_matrix A2"
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
c
"sparse_row_matrix r1 \ x"
"x \ sparse_row_matrix r2"
"A * x \ sparse_row_matrix (b::('a::lattice_ring) spmat)"
shows add)
" *
let =diff_spmat (ult_spmatyA2) 2 c2 y A1
add_spmat (mult_spmat (pprt_spmat s2) (pprt_spmat r2)) ( apply simp: algebra_simps
add_spmatmult_spmat s2pprt_spmat) ( (nprt_spmat) ( r1)))"
apply (simp add: Let_def)
apply (insert assms)
)
apply done
apply (autojava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
done
assumes
mult_est_spmat ( c1( y A2)(diff_spmat c2mult_spmat )))"
sorted_sparse_matrix
"sorted_sparse_matrix c1"
\<open>matrixlp.ML\<close>
sorted_sparse_matrix
"sorted_sparse_matrix r2"
"sorted_spvec b"
"le_spmat [] y"
"sparse_row_matrix A1 \ A"
"A \ sparse_row_matrix A2"
"sparse_row_matrix c1 \ c"
"c \ sparse_row_matrix c2"
"sparse_row_matrix r1 \ x"
"x \ sparse_row_matrix r2"
"A * x \ sparse_row_matrix (b::('a::lattice_ring) spmat)"
shows
"c * x \ sparse_row_matrix (add_spmat (mult_spmat y b)
(mult_est_spmat r1 r2 (diff_spmat c1 (mult_spmat y A2)) (diff_spmat c2 (mult_spmat y A1))))"
by (simp add: assms mult_est_spmat_def spm_mult_le_dual_prts[where A=A, simplified Let_def])
ML_file \<open>matrixlp.ML\<close>
end
quality 93%
tyle='color:blue'>"A * x \ sparse_row_matrix (b::('a::lattice_ring) spmat)"
"c * x \ sparse_row_matrix (add_spmat (mult_spmat y b)lemma spm_mult_le_dual_prts_no_let:
( r1 r2diff_spmat (ult_spmat) diff_spmat (mult_spmatyA1))
by (simp
" A2"
ML_file
end " y"
quality 93%
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet)
¤
*© Formatika GbR, Deutschland