The Cayley-Dickson Construction in ACL2 John Cowles and Ruben Gamboa - - PowerPoint PPT Presentation

the cayley dickson construction in acl2
SMART_READER_LITE
LIVE PREVIEW

The Cayley-Dickson Construction in ACL2 John Cowles and Ruben Gamboa - - PowerPoint PPT Presentation

The Cayley-Dickson Construction in ACL2 John Cowles and Ruben Gamboa Department of Computer Science University of Wyoming Laramie, Wyoming 82071 {cowles,ruben}@uwyo.edu May 22-23, 2017 Cayley-Dickson Construction How to define a


slide-1
SLIDE 1

The Cayley-Dickson Construction in ACL2

John Cowles and Ruben Gamboa

Department of Computer Science University of Wyoming Laramie, Wyoming 82071 {cowles,ruben}@uwyo.edu

May 22-23, 2017

slide-2
SLIDE 2

Cayley-Dickson Construction

How to define a multiplication for vectors?

  • Generalize the construction of complex numbers from pairs of real numbers.
  • View complex numbers as two dimensional vectors equipped with a

multiplication.

slide-3
SLIDE 3

Desirable properties for a vector multiplication

zero vector: v • 0 = unit vector: 1 • v = v inverse for nonzero vectors: v−1 • v = 1 associative: (v1 • v2) • v3 = v1 • (v2 • v3)

slide-4
SLIDE 4

Use zero vector, unit vector, associative and inverse for nonzero vectors properties to prove: closure for nonzero vectors: (v1 = 0 ∧ v2 = 0) → v1 • v2 = Prove (v1 • v2 = 0 ∧ v1 = 0) → v2 =

slide-5
SLIDE 5

Prove (v1 • v2 = 0 ∧ v1 = 0) → v2 = Assume v1 • v2 = 0 ∧ v1 =

  • 0. Then

v2 =

  • 1 • v2

= (v−1

1

  • v1) • v2

= v−1

1

  • (v1 • v2)

= v−1

1

=

slide-6
SLIDE 6

Recall the construction of complex numbers from pairs of real numbers. Interpret pairs of real numbers as complex numbers: For real v and w, (v ; w) = (complex v w) = v + w · i

slide-7
SLIDE 7

Complex multiplication. Think of the real numbers as one dimensional vectors. For reals v1, v2 and w1, w2, complex multiplication is defined by (v1; v2) • (w1; w2) = ([v1w1 − v2w2] ; [v1w2 + v2w1]) Satisfies zero vector, unit vector, inverse for nonzero vectors, and associative, properties.

slide-8
SLIDE 8

Repeat this same construction using pairs of complex numbers (instead of pairs

  • f reals).

For complex v1, v2 and w1, w2, multiplication of pairs is defined by (v1; v2) • (w1; w2) = ([v1w1 − v2w2] ; [v1w2 + v2w1]) This multiplication is associative.

  • 0 = ((complex 0 0) ; (complex 0 0))
  • 1 = ((complex 1 0) ; (complex 0 0))
slide-9
SLIDE 9

This property fails: closure for nonzero vectors: (v1 = 0 ∧ v2 = 0) → v1 • v2 = Example: ((complex 1 0) ; (complex 0 1))

  • ((complex 1 0) ; (complex 0 − 1)) =

No multiplicative inverse for this vector: ((complex 1 0) ; (complex 0 1)) =

slide-10
SLIDE 10

Generalize “complex” multiplication of pairs: (v1; v2) • (w1; w2) = ([v1w1 − v2w2] ; [v1w2 + v2w1]) into “Cayley-Dickson” multiplication of pairs: For complex v1, v2 and w1, w2, (v1; v2) • (w1; w2) = ([v1w1 − ¯ w2v2] ; [w2v1 + v2 ¯ w1]) Here ¯ w is the complex conjugate of w.

slide-11
SLIDE 11

Pairs of complex numbers with Cayley-Dickson multiplication: (v1; v2) • (w1; w2) = ([v1w1 − ¯ w2v2] ; [w2v1 + v2 ¯ w1]) Satisfies zero vector, unit vector, inverse for nonzero vectors, and associative properties. Vector space, of these pairs, is (isomorphic to) William Hamilton’s Quaternions.

slide-12
SLIDE 12

Cayley-Dickson Construction

Given a vector space, with multiplication, and with a unary conjugate operation, ¯ v. Form “new” Cayley-Dickson vectors: Pairs of “old” vectors (v1; v2) Cayley-Dickson multiplication: (v1; v2) • (w1; w2) = ([v1w1 − ¯ w2v2] ; [w2v1 + v2 ¯ w1]) Cayley-Dickson conjugation: (v1; v2) = (¯ v1; −v2)

slide-13
SLIDE 13

Cayley-Dickson Construction

Start with (1-dimensional) reals. Real conjugate defined by ¯ v = (identity v) = v Use Cayley-Dickson Construction on pairs of reals: Obtain (2-dimensional) complex numbers

slide-14
SLIDE 14

Cayley-Dickson Construction

Use Cayley-Dickson Construction on pairs of complex numbers: Obtain (4-dimensional) quaternions.

slide-15
SLIDE 15

Cayley-Dickson Construction

Use Cayley-Dickson Construction on pairs of quaternions: Obtain (8-dimensional) vector space (isomorphic to) Grave’s & Cayley’s Octonians. Satisfies zero vector, unit vector, and inverse for nonzero vectors properties. Fails to be associative, but satisfies closure for nonzero vectors.

slide-16
SLIDE 16

Cayley-Dickson Construction

Use Cayley-Dickson Construction on pairs of octonians: Obtain (16-dimensional) vector space (isomorphic to) the Sedenions. Satisfies zero vector, unit vector, and inverse for nonzero vectors properties. Fails to be associative. Fails closure for nonzero vectors.

slide-17
SLIDE 17

Composition Algebras

Each of these vector spaces: Reals, Complex Numbers, Quaternions, and Octonions has a vector multiplication, v1 • v2, satisfying: For the Euclidean length of a vector |v|, |v1 • v2| = |v1| · |v2|

slide-18
SLIDE 18

Composition Algebras

Define the norm of vector v: v = |v|2 Reformulate |v1 • v2| = |v1| · |v2| with equivalent v1 • v2 = v1 · v2 .

slide-19
SLIDE 19

Composition Algebras

Recall the dot (or inner) product, of n-dimensional vectors, is defined by (x1, . . . , xn) ⊙ (y1, . . . , yn) =

n

  • i=1

xi · yi Then norm and dot product are related: |v| = √v ⊙ v v = v ⊙ v Also v ⊙ w = 1 2 · (v + w − v − w)

slide-20
SLIDE 20

A Composition Algebra is

  • a real vector space
  • with vector multiplication
  • with a real-valued norm
  • satisfies this composition law

v1 • v2 = v1 · v2

slide-21
SLIDE 21

Composition Algebras

In a composition algebra Vp: Define a real-valued dot product by v ⊙ w = 1 2 · (v + w − v − w) Assume this dot product satisfies (Vp(x) ∧ ∀u[Vp(u) → u ⊙ x = 0]) → x =

slide-22
SLIDE 22

Composition Algebras

Use encapsulate to axiomatize the algebras. These unary operations can be defined:

  • conjugate
  • multiplicative inverse
slide-23
SLIDE 23

Composition Algebras

The ACL2(r) theory includes these theorems:

  • multiplicative closure for nonzero vectors
  • nonzero vectors have multiplicative inverses
  • v = v ⊙ v
slide-24
SLIDE 24

Composition Algebras

Remember the octonions:

  • 8-dimensional Composition Algebra
  • vector multiplication is not associative

Vector Multiplication Associativity not a theorem of Composition Algebra Theory.

slide-25
SLIDE 25

Composition Algebras

Start with a composition algebra V1p. Let V2p be the set of pairs of elements from V1p. ACL2(r) verifies: If V1p-multiplication is associative, then V2p can be made into a composition algebra. Use the Cayley-Dickson Construction.

slide-26
SLIDE 26

Composition Algebras

Start with a composition algebra V1p. Let V2p be the set of pairs of elements from V1p. ACL2(r) verifies: If V2p is also a composition algebra, then V1p-multiplication is associative.

slide-27
SLIDE 27

Composition Algebras

Start with a composition algebra V1p. Let V2p be the set of pairs of elements from V1p. ACL2(r) verifies Conjugation Doubling: If V2p is also a composition algebra, then in V2p (v1; v2) = (¯ v1; −v2)

slide-28
SLIDE 28

Composition Algebras

Conjugation Doubling: (v1; v2) = (¯ v1; −v2) Matches conjugation used in Cayley-Dickson Construction.

slide-29
SLIDE 29

Composition Algebras

Start with a composition algebra V1p. Let V2p be the set of pairs of elements from V1p. ACL2(r) verifies Product Doubling: If V2p is also a composition algebra, then in V2p (v1; v2) •2 (w1; w2) = ([v1 •1 w1 − ¯ w2 •1 v2] ; [w2 •1 v1 + v2 •1 ¯ w1])

slide-30
SLIDE 30

Composition Algebras

Product Doubling: (v1; v2) •2 (w1; w2) = ([v1 •1 w1 − ¯ w2 •1 v2] ; [w2 •1 v1 + v2 •1 ¯ w1]) Matches product used in Cayley-Dickson Construction.