AFTD Auto-Formalizing Theoretical Domains

SpiderLegEnd

inductive

The end condition of an attached leg in a spider state is either free (no arc on the leg), inward (pointing towards the centre), or outward (pointing away from the centre).

Statement

inductive SpiderLegEnd : Type
Defined in
scout/2610-15145-nim-heaps-in-the-game-of-cycles-the-parity-conjecture-fails.md, Section 6.1
Verified
18 Oct 2026
Axioms
none listed
Used by 62

Read back from the Lean

SpiderLegEnd is an inductive type with three constructors: free, inward, and outward. Instances for DecidableEq and Repr are automatically derived.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- End condition of an attached leg in a spider state: free (no arc), inward, or outward. -/
inductive SpiderLegEnd : Type | free : SpiderLegEnd
  | inward : SpiderLegEnd
  | outward : SpiderLegEnd
  deriving DecidableEq, Repr
See it in the graphDiscuss this resultChallenge it