pith. machine review for the scientific record. sign in

IndisputableMonolith.Physics.RoboticsFromRS

IndisputableMonolith/Physics/RoboticsFromRS.lean · 40 lines · 6 declarations

show as:
view math explainer →

open module explainer GitHub source

Explainer status: pending

   1import Mathlib
   2
   3/-!
   4# Robotics from RS — E1 Applied Engineering
   5
   6Five canonical robotic subsystems (sensing, actuation, computation,
   7communication, power) = configDim D = 5.
   8
   9In RS: robot control = J-cost minimization loop.
  10Autonomous navigation: find path with minimum cumulative J.
  11
  12Degrees of freedom: 6-DOF (SCARA-style) = 6 = D + 3 = cube faces.
  13
  14Lean: 5 subsystems.
  15
  16Lean status: 0 sorry, 0 axiom.
  17-/
  18
  19namespace IndisputableMonolith.Physics.RoboticsFromRS
  20
  21inductive RoboticSubsystem where
  22  | sensing | actuation | computation | communication | power
  23  deriving DecidableEq, Repr, BEq, Fintype
  24
  25theorem roboticSubsystemCount : Fintype.card RoboticSubsystem = 5 := by decide
  26
  27/-- 6-DOF = cube faces = 6. -/
  28def sixDOF : ℕ := 6
  29theorem sixDOF_eq_cubefaces : sixDOF = 6 := rfl
  30
  31structure RoboticsCert where
  32  five_subsystems : Fintype.card RoboticSubsystem = 5
  33  six_dof : sixDOF = 6
  34
  35def roboticsCert : RoboticsCert where
  36  five_subsystems := roboticSubsystemCount
  37  six_dof := sixDOF_eq_cubefaces
  38
  39end IndisputableMonolith.Physics.RoboticsFromRS
  40

source mirrored from github.com/jonwashburn/shape-of-logic