This attribute, which was implemented in #3640, is applied to the following structures: `Sigma`, `PSigma`, `PProd`, `And`, `Subtype`, and `Fin`. These were given this attribute in Lean 3.
10 lines
294 B
Text
10 lines
294 B
Text
α : Type ?u
|
||
x✝ : ArrayBuffer α
|
||
cap : Nat
|
||
backing : Fin cap → Option α
|
||
size : Nat
|
||
h_size : size ≤ cap
|
||
h_full : ∀ (i : Nat) (h : i < size), Option.isSome (backing ⟨i, ⋯⟩) = true
|
||
i : Nat
|
||
h : i < size
|
||
⊢ Option.isSome (if h_1 : i < cap then backing ⟨i, ⋯⟩ else none) = true
|