Appending a singleton increases the list length

← All problems

list_append_singleton_length

Submitter: Kim Morrison.

Notes: A simple list problem that exercises notation in generated files.

Source: Internal starter problem.

Informal solution: Compute the length after append.

theorem declaration uses `sorry`list_append_singleton_length : (([1, 2] : List Nat).append [3]).length = 3 := ([1, 2].append [3]).length = 3 All goals completed! 🐙

Solved by

@rkirov with Claude Opus 4.7 on Apr 30, 2026 (proof)

@kim-em with Aristotle (Harmonic) on May 1, 2026 (proof)

@rkirov with Claude Opus 4.7 (1M context) on May 2, 2026 (proof)

@mayorov-m-a with Aleph Prover(logicalintelligence.com) on May 8, 2026

@sqrt-of-2 with GPT-5.5 on May 9, 2026 (proof)

@sqrt-of-2 with Gemini 3.1 Pro on May 10, 2026 (proof)

@sqrt-of-2 with Leanstral-2603 on May 11, 2026 (proof)

@rishistyping with Stealth Model on May 13, 2026

@daouid with Antigravity (Multi-Model Ensemble: Gemini 3.1 Pro, Gemini 3 Flash, Claude 4.6 Sonnet/Opus) on May 13, 2026 (proof)