theory General_Utils imports"HOL-Analysis.Analysis" begin
lemma lambda_skolem_gen: "(∀i. ∃f'::('a ^ 'n) ==> 'a. P i f') ⟷ (∃f'::('a ^ 'n) ==> ('a ^ 'n). ∀i. P i ((λx. (f' x) $ i)))" (is"?lhs ⟷ ?rhs") (*using choice_iff lambda_skolem*) proof -
{ assume H: "?rhs" thenhave ?lhs by auto } moreover
{ assume H: "?lhs" thenobtain f'' where f'':"∀i. P i (f'' i)"unfolding choice_iff by metis let ?x = "(λx. (χ i. (f'' i) x))"
{ fix i from f'' have"P i (f'' i)"by metis thenhave"P i (λx.(?x x) $ i)"by auto
} hence"∀i. P i (λx.(?x x) $ i)"by metis hence ?rhs by metis} ultimatelyshow ?thesis by metis qed
lemma lambda_skolem_euclidean: "(∀i∈Basis. ∃f'::('a::{euclidean_space}==>real). P i f') ⟷ (∃f'::('a::euclidean_space==>'b::euclidean_space). ∀i∈Basis. P i ((λx. (f' x) ∙ i)))" (is"?lhs ⟷ ?rhs") (*using choice_iff lambda_skolem*) proof -
{ assume H: "?rhs" thenhave ?lhs by auto } moreover
{ assume H: "?lhs" thenobtain f'' where f'':"∀i::('b::euclidean_space)∈Basis. P i (f'' i)"unfolding choice_iff by metis let ?x = "(λx. (∑i∈Basis. ((f'' i) x) *R i))"
{ fix i::"'b::euclidean_space" assume ass: "i∈Basis" thenhave"P i (f'' i)" using f'' by metis thenhave"P i (λx.(?x x) ∙ i)"using ass by auto
} hence *: "∀i∈Basis. P i (λx.(?x x) ∙ i)"by auto thenhave ?rhs apply auto proof let ?f'6 = ?x show" ∀i∈Basis. P i (λx. ?f'6 x ∙ i)"using * by auto qed} ultimatelyshow ?thesis by metis qed
lemma lambda_skolem_euclidean_explicit: "(∀i∈Basis. ∃f'::('a::{euclidean_space}==>real). P i f') ⟷ (∃f'::('a::{euclidean_space}==>'a). ∀i∈Basis. P i ((λx. (f' x) ∙ i)))" (is"?lhs ⟷?rhs") (*using choice_iff lambda_skolem*) proof -
{ assume H: "?rhs" thenhave ?lhs by auto } moreover
{ assume H: "?lhs" thenobtain f'' where f'':"∀i::('a::euclidean_space)∈Basis. P i (f'' i)"unfolding choice_iff by metis let ?x = "(λx. (∑i∈Basis. ((f'' i) x) *R i))"
{ fix i::"'a::euclidean_space" assume ass: "i∈Basis" thenhave"P i (f'' i)" using f'' by metis thenhave"P i (λx.(?x x) ∙ i)"using ass by auto
} hence *: "∀i∈Basis. P i (λx.(?x x) ∙ i)"by auto thenhave ?rhs apply auto proof let ?f'6 = ?x show" ∀i∈Basis. P i (λx. ?f'6 x ∙ i)"using * by auto qed} ultimatelyshow ?thesis by metis qed
lemma indic_ident: "∧ (f::'a ==> real) s. (λx. (f x) * indicator s x) = (λx. if x ∈ s then f x else 0)" proof fix f::"'a ==> real" fix s::"'a set" fix x:: 'a show" f x * indicator s x = (if x ∈ s then f x else 0)" by (simp add: indicator_def) qed
lemma sum_bij: assumes"bij F" "∀x∈s. f x = g (F x)" shows"∧t. F ` s = t ==> sum f s = sum g t" by (metis assms bij_betw_def bij_betw_subset subset_UNIV sum.reindex_cong)
abbreviation surj_on where "surj_on s f ≡ s ⊆ range f"
lemma surj_on_image_vimage_eq: "surj_on s f ==> f ` (f -` s) = s" by fastforce
end
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.