AFTD Auto-Formalizing Theoretical Domains

SpiderTree

structure

The structure SpiderTree consists of three natural number fields x : ℕ, y : ℕ, and z : ℕ, recording the parameters of a 3-legged spider tree.

Statement

structure SpiderTree
Defined in
scout/2610-15145-nim-heaps-in-the-game-of-cycles-the-parity-conjecture-fails.md, Section 2.2
Verified
18 Oct 2026
Axioms
none listed

Read back from the Lean

A structure (record type) named SpiderTree with three fields: x : ℕ, y : ℕ, and z : ℕ, each being a natural number. It derives DecidableEq and Repr.

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

/-- A structure SpiderTree recording the three leg parameters x, y, z : ℕ of a 3-legged spider. -/
structure SpiderTree where
  x : ℕ
  y : ℕ
  z : ℕ
  deriving DecidableEq, Repr
See it in the graphDiscuss this resultChallenge it