*To*: Omar Jasim <oajasim1 at sheffield.ac.uk>*Subject*: Re: [isabelle] Vector transpose*From*: "Thiemann, Rene" <Rene.Thiemann at uibk.ac.at>*Date*: Tue, 27 Feb 2018 12:09:12 +0000*Accept-language*: de-DE, de-AT, en-US*Cc*: isabelle-users <isabelle-users at cl.cam.ac.uk>*In-reply-to*: <CAAi=gevK1B1sGOyoRD4b1jSdCgkytQLV_=z2ckFHhpK+81Hg2g@mail.gmail.com>*References*: <CAAi=ges=qAOTHHMFO3Tz2viX6eBKY_zKPKVQ6RWpGLwE+0AS1g@mail.gmail.com> <FDFF8848-06A0-4300-AF7B-ADBB9F30A489@exchange.uibk.ac.at> <CAAi=gevK1B1sGOyoRD4b1jSdCgkytQLV_=z2ckFHhpK+81Hg2g@mail.gmail.com>*Thread-index*: AQHTr7jbFnBBfJTrD0CU5Wq0JZLZ6KO4AxcAgAANQwCAAAb+gA==*Thread-topic*: [isabelle] Vector transpose

Dear Omar, I would recommend to look at the general Isabelle and AFP documentation and in particular the installation instruction. The error might indicate that you imported some ROOT file twice, or that you you import a theory-file in two different ways, or that indeed you work with two versions of a “Matrix.thy” (e.g., the one in the AFP/Jordan_Normal_Form and a local file) which is not supported. Cheers, René > Am 27.02.2018 um 12:44 schrieb Omar Jasim <oajasim1 at sheffield.ac.uk>: > > Thanks Rene for this. I have a problem with calling AFP in Isabelle/HOL 2017 under Windows 10. I didn't have such problem with the previous versions but it seems the ROOT file is changed in this version. However, the called theory from AFP "imports Perron_Frobenius.HMA_Connect" is loaded with all associated theories but I have the following error message: > > exception THEORY raised (line 230 of "context.ML"): > Duplicate theory name > {..., Complex, MacLaurin, Complex_Main, Lattice_Algebras, Draft.Matrix} > {..., Factorial_Ring, Missing_Ring, Module, Ring_Hom, Jordan_Normal_Form.Matrix} > > > Omar > > On 27 February 2018 at 10:56, Thiemann, Rene <Rene.Thiemann at uibk.ac.at> wrote: > Dear Omar, > > if you’re not working with “real^’a” but with “real mat” from AFP/Jordan_Normal_Form/Matrix, > then you find “transpose_mat”. However, there “norm” is not defined. > > However, using AFP/Perron_Frobenius/HMA_Connect you might easily be able to define transpose for “real^’a” > and then reuse the results for transpose_mat via the transfer-package. > > For instance, eigen_vectors for “real^’a^’a” are defined like this, and results are just transferred. > > Cheers, > René > > > I was looking for a transpose of a vector (real^'a) but I couldn't find it. > > Probably there is no such definition. The problem I faced is: > > > > lemma > > fixes E :: "(real, 6) vec" > > and Q :: "((real, 6) vec, 6) vec" > > and B:: "((real, 3) vec, 6) vec" > > shows "norm((E v* Q) v* B) = norm(transpose (B) *v (Q*v E))" > > > > So please, is there a transpose of a vector defined in Isabelle/HOL? > >

**References**:**[isabelle] Vector transpose***From:*Omar Jasim

**Re: [isabelle] Vector transpose***From:*Thiemann, Rene

**Re: [isabelle] Vector transpose***From:*Omar Jasim

- Previous by Date: Re: [isabelle] Vector transpose
- Next by Date: Re: [isabelle] Vector transpose
- Previous by Thread: Re: [isabelle] Vector transpose
- Next by Thread: Re: [isabelle] Vector transpose
- Cl-isabelle-users February 2018 archives indexes sorted by: [ thread ] [ subject ] [ author ] [ date ]
- Cl-isabelle-users list archive Table of Contents
- More information about the Cl-isabelle-users mailing list