| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Results concerning the excluded middle axiom. |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
module Axiom.ExcludedMiddle where |
| 10 |
|
| 11 |
open import Level using (Level; suc) |
| 12 |
open import Relation.Nullary.Decidable.Core using (Dec) |
| 13 |
|
| 14 |
------------------------------------------------------------------------ |
| 15 |
-- Definition |
| 16 |
|
| 17 |
-- The classical statement of excluded middle says that every |
| 18 |
-- statement/set is decidable (i.e. it either holds or it doesn't hold). |
| 19 |
|
| 20 |
ExcludedMiddle : ∀ ℓ → Set (suc ℓ) |
| 21 |
ExcludedMiddle ℓ = {P : Set ℓ} → Dec P |