Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  Group_Context.thy   Sprache: Isabelle

 

(*  Title:      HOL/Isar_Examples/Group_Context.thy
    Author:     Makarius
*)


section ‹Some algebraic identities derived from group axioms -- theory context version›

theory Group_Context
  imports Main
begin

text ‹hypothetical group axiomatization›

context
  fixes prod :: "'a → 'a → 'a"  (infixl ‹⊙› 70)
    and one :: "'a"
    and inverse :: "'a → 'a"
  assumes assoc: "(x ⊙ y) ⊙ z = x ⊙ (y ⊙ z)"
    and left_one: "one ⊙ x = x"
    and left_inverse: "inverse x ⊙ x = one"
begin

text ‹some consequences›

lemma right_inverse: "x ⊙ inverse x = one"
proof -
  have "x ⊙ inverse x = one ⊙ (x ⊙ inverse x)"
    by (simp only: left_one)
  also have "… = one ⊙ x ⊙ inverse x"
    by (simp only: assoc)
  also have "… = inverse (inverse x) ⊙ inverse x ⊙ x ⊙ inverse x"
    by (simp only: left_inverse)
  also have "… = inverse (inverse x) ⊙ (inverse x ⊙ x) ⊙ inverse x"
    by (simp only: assoc)
  also have "… = inverse (inverse x) ⊙ one ⊙ inverse x"
    by (simp only: left_inverse)
  also have "… = inverse (inverse x) ⊙ (one ⊙ inverse x)"
    by (simp only: assoc)
  also have "… = inverse (inverse x) ⊙ inverse x"
    by (simp only: left_one)
  also have "… = one"
    by (simp only: left_inverse)
  finally show ?thesis .
qed

lemma right_one: "x ⊙ one = x"
proof -
  have "x ⊙ one = x ⊙ (inverse x ⊙ x)"
    by (simp only: left_inverse)
  also have "… = x ⊙ inverse x ⊙ x"
    by (simp only: assoc)
  also have "… = one ⊙ x"
    by (simp only: right_inverse)
  also have "… = x"
    by (simp only: left_one)
  finally show ?thesis .
qed

lemma one_equality:
  assumes eq: "e ⊙ x = x"
  shows "one = e"
proof -
  have "one = x ⊙ inverse x"
    by (simp only: right_inverse)
  also have "… = (e ⊙ x) ⊙ inverse x"
    by (simp only: eq)
  also have "… = e ⊙ (x ⊙ inverse x)"
    by (simp only: assoc)
  also have "… = e ⊙ one"
    by (simp only: right_inverse)
  also have "… = e"
    by (simp only: right_one)
  finally show ?thesis .
qed

lemma inverse_equality:
  assumes eq: "x' ⊙ x = one"
  shows "inverse x = x'"
proof -
  have "inverse x = one ⊙ inverse x"
    by (simp only: left_one)
  also have "… = (x' ⊙ x) ⊙ inverse x"
    by (simp only: eq)
  also have "… = x' ⊙ (x ⊙ inverse x)"
    by (simp only: assoc)
  also have "… = x' ⊙ one"
    by (simp only: right_inverse)
  also have "… = x'"
    by (simp only: right_one)
  finally show ?thesis .
qed

end

end

Messung V0.5 in Prozent
C=95 H=99 G=96

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-09-29) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126864
#Domains=1897691