Honeycomb lattice geometry of graphene
Definitiongraphene_latticeThe geometric data of graphene's honeycomb lattice, in the notation of Eq. (1) of the source. Points and wave vectors of the plane are elements of , written .
- ;
- — introduced explicitly because the product type carries the sup norm, not the Euclidean one;
- lattice unit vectors , ;
- nearest-neighbour vectors , , , collected as a family indexed by a three-element type;
- the Dirac points and , stored in the equivalent component form , .
Here is the carbon–carbon distance, taken positive in the theorems that need it; the definitions themselves place no restriction on .
import Mathlib /-! # Graphene: honeycomb lattice geometry Geometric data of the honeycomb lattice of graphene, following F. Utermohlen, *Tight-Binding Model for Graphene* (September 12, 2018), Eq. (1). Positions and momenta are elements of `ℝ × ℝ`. Note that the norm carried by the product type `ℝ × ℝ` is the sup norm, so the Euclidean norm is introduced here explicitly as `euclidNorm`. -/ namespace GrapheneTightBinding /-- Euclidean inner product of two vectors of the plane `ℝ × ℝ`. -/ def dotp (p q : ℝ × ℝ) : ℝ := p.1 * q.1 + p.2 * q.2 /-- The Euclidean norm `√(q₁² + q₂²)` of a vector of the plane `ℝ × ℝ`. (The product type `ℝ × ℝ` carries the sup norm, hence this explicit definition.) -/ noncomputable def euclidNorm (q : ℝ × ℝ) : ℝ := Real.sqrt (q.1 ^ 2 + q.2 ^ 2) /-- The first lattice unit vector `a₁ = (a/2)(3, √3)`. -/ noncomputable def latticeVecOne (a : ℝ) : ℝ × ℝ := (3 * a / 2, Real.sqrt 3 * a / 2) /-- The second lattice unit vector `a₂ = (a/2)(3, -√3)`. -/ noncomputable def latticeVecTwo (a : ℝ) : ℝ × ℝ := (3 * a / 2, -(Real.sqrt 3 * a / 2)) /-- The three nearest-neighbour vectors `δ₁ = (a/2)(1, √3)`, `δ₂ = (a/2)(1, -√3)`, `δ₃ = -a(1, 0)`. -/ noncomputable def nnVec (a : ℝ) : Fin 3 → ℝ × ℝ | 0 => (a / 2, Real.sqrt 3 * a / 2) | 1 => (a / 2, -(Real.sqrt 3 * a / 2)) | 2 => (-a, 0) /-- The Dirac point `K = (2π/(3√3 a))(√3, 1)`. -/ noncomputable def diracK (a : ℝ) : ℝ × ℝ := (2 * Real.pi / (3 * a), 2 * Real.pi / (3 * Real.sqrt 3 * a)) /-- The Dirac point `K' = (2π/(3√3 a))(√3, -1)`. -/ noncomputable def diracKp (a : ℝ) : ℝ × ℝ := (2 * Real.pi / (3 * a), -(2 * Real.pi / (3 * Real.sqrt 3 * a))) end GrapheneTightBinding
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Disclosure: this read-back is not independent testimony. It was written by the same agent that drafted the Lean statement it describes, with full knowledge of the source document and of the intended meaning, and it was uploaded at the explicit instruction of the proposal owner. It is therefore non-blind: it is an author's self-report, not the blind testimony of an independent auditor, and it carries none of the independence guarantees a read-back is normally meant to provide. A reviewer should treat it as a reading aid only, audit the Lean code directly, and, if independent testimony is required, commission a blind read-back from an auditor who has seen neither this text nor the source material.
This bundle introduces, for a real parameter (no positivity is required by the definitions themselves), the following data on the plane , whose elements are pairs written .
- A pairing of two pairs of reals.
- A function , defined through the real square root. This is a newly defined function and is not the norm that the ambient library attaches to a product of two copies of (that one is ).
- Two pairs and .
- A family of three pairs indexed by :
The index set has exactly three elements, so the definition is total; the numbering starts at .
- Two further pairs
For these expressions divide by zero; division by zero returns in this formal setting, so and are then both the pair rather than being undefined.
No claim of any kind is asserted here: the bundle consists solely of definitions.