Alkenes
Content created by Jonathan Prieto-Cubides, Fredrik Bakke, Egbert Rijke and Amélia Liao.
Created on 2022-07-05.
Last modified on 2023-03-13.
module organic-chemistry.alkenes where
Imports
open import elementary-number-theory.natural-numbers open import foundation.dependent-pair-types open import foundation.embeddings open import foundation.universe-levels open import organic-chemistry.hydrocarbons open import organic-chemistry.saturated-carbons open import univalent-combinatorics.finite-types
Idea
An n-alkene is a hydrocarbon equipped with a choice of carbons, each of which has a double bond. For an n-alkene, the embedding from the given type (the first component of the n-alkene structure) specifies which carbons have double bonds. For example, 1-butene and but-2-ene have the same geometry, and the embedding is what differentiates them (while the third tautometer, isobutylene, is branched, thus has a different geometry).
Definition
n-alkene : {l1 l2 : Level} → hydrocarbon l1 l2 → ℕ → UU (lsuc lzero ⊔ l1 ⊔ l2) n-alkene H n = Σ (UU-Fin lzero n) λ carbons → Σ ( type-UU-Fin n carbons ↪ vertex-hydrocarbon H) ( λ embed-carbons → ( c : type-UU-Fin n carbons) → pr1 (has-double-bond-hydrocarbon H (pr1 embed-carbons c)))
Recent changes
- 2023-03-13. Jonathan Prieto-Cubides. More maintenance (#506).
- 2023-03-12. Fredrik Bakke and Jonathan Prieto-Cubides. Generate module indexes (#501).
- 2023-03-10. Fredrik Bakke. Additions to
fix-import
(#497). - 2023-03-09. Jonathan Prieto-Cubides. Add hooks (#495).
- 2023-03-07. Fredrik Bakke. Add blank lines between
<details>
tags and markdown syntax (#490).