def
definition
def or abbrev
pointInterface
show as:
view Lean formalization →
formal statement (Lean)
91noncomputable def pointInterface {K : Type*} (x₀ : K) :
92 PrimitiveInterface K where
93 n := 2
proof body
Definition body.
94 hpos := by norm_num
95 observe := fun x =>
96 if x = x₀ then (1 : Fin 2) else (0 : Fin 2)
97
98/-- The point interface recognizes its reference point as outcome `1`. -/