def
definition
def or abbrev
mkSampledMesh
show as:
view Lean formalization →
formal statement (Lean)
114noncomputable def mkSampledMesh (cert : ZeroWindingCert) (N : ℕ) :
115 SampledMesh N where
116 rings := fun n =>
proof body
Definition body.
117 mkSampledRing cert (n.val + 1) (Nat.succ_pos _)
118 (cert.radius / 2)
119 (by linarith [cert.radius_pos])
120 (by linarith [cert.radius_pos])
121 charge_zero := fun _ => rfl
122
123/-- The sampled mesh from a cert has charge 0. -/