A type for VM-erased data #
This file defines a type Erased α which is classically isomorphic to α,
but erased in the VM. That is, at runtime every value of Erased α is
represented as 0, just like types and proofs.
@[inline]
Erase a value.
Equations
Instances For
Extracts the erased value, noncomputably.
Equations
Instances For
@[reducible, inline]
Extracts the erased value, if it is a type.
Note: (mk a).OutType is not definitionally equal to a.
Equations
Instances For
Extracts the erased value, if it is a proof.
Computably produce an erased value from a proof of nonemptiness.
Equations
Instances For
@[simp]
Equations
@[simp]
Collapses two levels of erasure.
Equations
Instances For
@[simp]
@[simp]
@[simp]
@[simp]