@[implicit_reducible]
Equations
- Aesop.instInhabitedSlotIndex = { default := Aesop.instInhabitedSlotIndex.default }
Equations
- Aesop.instInhabitedSlotIndex.default = { toNat := default }
Instances For
@[implicit_reducible]
Equations
- Aesop.instBEqSlotIndex = { beq := Aesop.instBEqSlotIndex.beq }
Equations
- Aesop.instBEqSlotIndex.beq { toNat := a } { toNat := b } = (a == b)
- Aesop.instBEqSlotIndex.beq xโยน xโ = false
Instances For
@[implicit_reducible]
Equations
- Aesop.instHashableSlotIndex = { hash := Aesop.instHashableSlotIndex.hash }
Equations
- Aesop.instHashableSlotIndex.hash { toNat := a } = mixHash 0 (hash a)
Instances For
Equations
- Aesop.instDecidableEqSlotIndex.decEq { toNat := a } { toNat := b } = if h : a = b then h โธ isTrue โฏ else isFalse โฏ
Instances For
@[implicit_reducible]
@[implicit_reducible]
Equations
- Aesop.instOrdSlotIndex = { compare := Aesop.instOrdSlotIndex.ord }
Equations
- Aesop.instOrdSlotIndex.ord { toNat := a } { toNat := b } = (compare a b).then Ordering.eq
Instances For
@[implicit_reducible]
Equations
- Aesop.instLTSlotIndex = { lt := fun (i j : Aesop.SlotIndex) => i.toNat < j.toNat }
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- Aesop.instLESlotIndex = { le := fun (i j : Aesop.SlotIndex) => i.toNat โค j.toNat }
@[implicit_reducible]
Equations
- Aesop.instDecidableRelSlotIndexLe i j = if h : i.toNat.ble j.toNat = true then isTrue โฏ else isFalse โฏ
@[implicit_reducible]
Equations
- Aesop.instHAddSlotIndexNat = { hAdd := fun (i : Aesop.SlotIndex) (j : Nat) => { toNat := i.toNat + j } }
@[implicit_reducible]
Equations
- Aesop.instHSubSlotIndexNat = { hSub := fun (i : Aesop.SlotIndex) (j : Nat) => { toNat := i.toNat - j } }
@[implicit_reducible]
Equations
- Aesop.instToStringSlotIndex = { toString := fun (i : Aesop.SlotIndex) => toString i.toNat }