A brief introduction to lattice theory

[justify]Can any patterns be observed in these images? Are there common elements? What if I said they are related to post-quantum cryptography? But what is post-quantum cryptography?[/justify]
Post quantum cryptography
[justify]The threat of quantum computing is already here. Quantum computers represent a revolutionary evolution in the field of computing. Unlike classical computers, which use conventional bits to store and process information in the form of 0s and 1s, quantum computers leverage the principles of quantum mechanics to represent and manipulate data in the form of qubits. These qubits can exist in multiple states simultaneously thanks to the phenomenon of superposition, allowing quantum computers to process and analyze vast amounts of information exponentially faster than traditional systems. However, it also poses significant challenges in terms of cybersecurity, as current encryption algorithms could become vulnerable to the ability of quantum computers to perform faster factorization and search operations.[br][br]Post-quantum cryptography is a completely novel branch of cybersecurity that addresses the growing concern about the vulnerability of current encryption systems to future advances in quantum computing. To tackle this concern, the National Institute of Standards and Technology (NIST) in the United States has led a process for evaluating and standardizing post-quantum cryptography algorithms. This process involves identifying, evaluating, and selecting new algorithms that are resistant to quantum attacks, with the goal of establishing robust standards for information security in the future. In 2022, two schemes for both encryption and signature were standardized: CRYSTALS-Kyber and CRYSTALS-Dilithium, both based on lattice theory.[br][/justify]
Formal definition
Let [math]V[/math] be a vector space over a field [math]K[/math] and [math]B=\left\{v_{1,}v_{2,}\dots,v_n\right\}[/math] a basis of a subspace of [math]V[/math],Then the lattice[math]\Lambda\subset V[/math] is generated by the basis [math]\left\{v_{1,}v_{2,}\dots,v_n\right\}[/math] is the set:[center][math]\Lambda\left(v_1,v_2,\dots,v_n\right)=\left\{\Sigma_{i=1}a_i\cdot v_i\slash a_i\in\mathbb{Z}\right\}[/math][/center]
[justify]The formal definition of a lattice should not be taken too seriously, as this contribution is merely symbolic. However, what should be clear is that a lattice is a set (most often infinite) that is composed of combinations of vector sums. But how is a lattice constructed?[/justify]
Example
Suppose we have the vectors [math]\left(1,0\right),\left(0,1\right)[/math], then the lattice looks as follows: [left][math]\Lambda\left(\left(1,0\right),\left(0,1\right)\right)=\left\{\left(0,0\right),\left(1,0\right),\left(0,1\right),\left(1,1\right),\left(2,0\right),\left(2,1\right)\left(2,2\right),\dots\right\}[/math][br][br]On the other hand, if we consider the vectors [math]\left(2,1\right),\left(0,3\right)[/math], for example:[br][math]\Lambda\left(\left(2,1\right),\left(0,3\right)\right)=\left\{\left(0,0\right),\left(2,1\right),\left(0,3\right),\left(4,2\right),\left(0,6\right),\left(2,4\right),\dots\right\}[/math][br][br][br]After all, it is clear that to construct a lattice, it is enough to know how to add and multiply the vectors by integer numbers.[b][/b][/left]
Experiment. Play with vectors
Question
If one wanted to obtain the vector (1, 3), how should the vectors [b]u[/b] and [b]v[/b] be combined?
Question
Can you describe a new element of the lattice? Combine [b]u[/b] and [b]v[/b].
In the previous example, the vectors [math]u=\left(1,0\right)[/math] y [math]v=\left(0,1\right)[/math] were used. However, other vectors can be used, as we will see next.
Experiment. In this case, the vectors (2, 0) and (0, 1) have been used. To start the construction, press the play button, and you will see how the points of the lattice are being constructed.
Exercise. Construct a lattice.
Curiosity
[justify]Did you know that the only lattice that does not have infinitely many elements is the zero lattice?[br][br]In other words, the only lattice that does not have infinitely many elements and that also has just one element is the one whose vector is the zero vector. Does that make sense?[br]Suppose we have two vectors; if these are equal to zero and we make the integer combinations, we are left with only the zero vector because [math]a\cdot0+b\cdot0=0,[/math] [math]\forall a,b\in\mathbb{Z}[/math][br]On the other hand, if we have a vector that is not zero, such as, [math]\left(1,0\right)[/math], since there are infinitely many integers, if they are combined, they yield infinitely many points in the lattice.[/justify]
Question
Suppose we have a lattice formed by the vectors [math]u=\left(-1,5\right)[/math] and [math]v=\left(2,3\right)[/math]. Introduce at least ten elements of the lattice.
Experiment
Question
[justify]Now that we have seen how a lattice is constructed and what it looks like, can this concept be related to the cover images? In that case, describe the similarities. Can any objects in nature or the environment be found that are similar to these structures?[/justify]
Relating concepts
In geometry, a well-known concept is the dot product. The dot product of two vectors, say [b]u[/b] and [b]v, [/b]considering the angle [math]\alpha[/math] between the two vectors, can be calculated as follows:[br][br][center][math]u\cdot v=|u|\cdot|v|\cdot cos\left(\alpha\right)[/math][/center][br]
[justify]In the examples presented, all the dot products of the vectors have been zero, since [math]u=\left(1,0\right)[/math] y [math]v=\left(0,1\right)[/math]. are orthogonal. In this case, the dot product is equal to zero, as [math]u\cdot v=1\cdot1\cdot cos\left(\frac{\pi}{2}\right)=1\cdot1\cdot0=0[/math]. When this happens, it is said that the vectors are orthogonal. Now, we can propose the idea of constructing non-orthogonal lattices, or in other words, that their vectors are not perpendicular.[/justify]
Experiment with sliding points B and C.
[justify][/justify]In this example, we can see that the vectors [b]AB[/b] and [b]AC[/b] are not perpendicular, or as we mentioned earlier, they are not orthogonal. If you drag points [b]A[/b], [b]B[/b], and [b]C[/b], you can observe how the formed lattice varies.
Question: Do you dare to create a non-orthogonal lattice?
Curiosity
[justify]Although it may seem that functions are always drawn and sketched in a plane with a reference axis [b]OX[/b] and [b]OY[/b], in reality, it is just a Cartesian reference axis, and there are more reference axes. A reference axis is the affine reference system. This consists of considering the vectors [b]AB[/b] and [b]BC[/b] from three non-collinear points, [b]A[/b], [b]B[/b], and [b]C[/b]. In this case, when we have the 'numbers' on the axis for counting, we will not count one by one but rather make jumps of length [math]\mid AB\mid[/math] and [math]|BC|[/math].[/justify]
Question
Can you identify any affine reference system in this activity? Which one? If so, can you discuss its relationship with non-orthogonal lattices?
[justify]Mathematics is composed of different areas of study:[br][/justify][list][*][b][/b][b]Algebra[/b] (matrices, equations, determinants,...)[/*][*][b][/b][b]Analysis[/b] (functions, integrals, derivatives,...)[/*][*][b][/b]Statistics (populations, frequencies, probabilities,...)[/*][*][b]Geometry and topology[/b][/*][/list][justify][br]The difference between geometry and topology is that the former studies the quantitative properties of geometric objects (such as calculating areas, perimeters, etc.), while [b]topology studies qualitative properties[/b]. For example, to a person studying topology, [b]a donut and a mug are practically identical[/b]![/justify][justify][br]Within [b]topology[/b], time and effort are dedicated to measuring and studying distances (among other things). So far, we have only encountered Euclidean distance, which is the usual one we use in our daily lives, like when using a ruler. However, there is a distance called [b]taxi distance[/b] (or [b]Manhattan distance[/b]).[br][br]In taxi distance, we cannot move from one point to another in a straight line (unless they are right next to each other); instead, we have to move as if we were navigating a grid, like in a city. Obviously, this term comes from how taxis navigate through the city, going around buildings along long streets. Don't these cities resemble lattice structures? Let's look at an image of Barcelona:[/justify]
Experiment
Question
Can you find lattice structures in your environment? I will give you a hint: the tiles on the floor.
The straight line is not an option
We would like to go from point A to point B in a straight line; however, we cannot go through buildings. Therefore, the best option we have is the taxi distance. To get from A to B, we must navigate through the lattice.
Is the path followed unique?
Summary
[justify]To conclude this activity, it should be emphasized that a new concept has been introduced: that of a lattice, which is the foundation of the innovative post-quantum cryptography. Connections have been established between lattices and various concepts, such as orthogonality, affine references, and taxi distance. Additionally, this interesting mathematical object has been presented to the students, demonstrating that it exists in nature, encouraging them to gain a broader perspective on mathematics and to recognize that it is more prevalent than they might think.[/justify]
Close

Information: A brief introduction to lattice theory