Challenge 6: the -well-quasi-ordering statement, alternating between planar and all finite graphs
DefinitionTenChallenges_Challenge_06The scaled form of Challenge 6. For an ordinal , write with (ordinal division with remainder). Then says:
The rungs and are well-quasi-ordering of planar graphs and of all finite graphs, both consequences of the Graph Minor Theorem. The statement for all ordinals is the better-quasi-ordering conjecture for graph minors.
Formalization Note. and are Mathlib's ordinal quotient and remainder; the ordinals are in universe , matching the universe of the types of finite graphs.
import Definitions.Def_TenChallenges_AlphaWQO namespace TenChallenges /-- `(r / 2)`-WQO under minors: planar graphs when `r % 2 = 0`, all finite graphs otherwise. -/ def statement_06 (r : Ordinal) : Prop := if r % 2 = 0 then IsAlphaWQO PlanarGraph.MinorLE (r / 2) else IsAlphaWQO FiniteGraph.MinorLE (r / 2) end TenChallenges
Read-back
What the Lean code literally says, in plain math · claude-fable-5-1
TenChallenges.statement_06 r. A proposition depending on an ordinal . (The ordinal lives in the lowest universe: the graph types used below are in Type, which forces the universe of Ordinal.) It is
an if-then-else on propositions (decided classically); every ingredient is unfolded below.
Ordinal division and remainder. r / 2 and r % 2 are Mathlib's ordinal division and remainder: and (ordinal subtraction). Together these make the unique ordinal and the unique ordinal with and , so . Multiplication is ordinal multiplication with on the left ( is " copies of two points"): , for finite , and for every limit ordinal . Concretely, writing uniquely as with either or a limit ordinal and , one has and . So the first branch applies iff is even (level ) and the second iff is odd (level ). Examples: level , planar; level , all finite graphs; level , planar; level , all finite graphs; level , planar; level , all finite graphs; level , planar.
The two base types and relations (from item TenChallenges_AlphaWQO, which builds on item TenChallenges_Minor).
FiniteGraphis the type of pairs with (including ) and a simple graph (irreflexive symmetric adjacency) on ; elements are pairs, not isomorphism classes. The relation (FiniteGraph.MinorLE) is: iff there exists a minor witness of in , namely a family of subsets of with (i) whenever ; (ii) each nonempty and any two of its vertices joined by a walk of all of whose vertices lie in ; (iii) for every edge there are and with . Nothing is required for non-edges of , and the need not cover . No reflexivity or transitivity of is assumed or used.PlanarGraphis the subtype of thoseFiniteGraphsuch that there is no minor witness of (the complete graph on , all pairs of distinct vertices adjacent) in and no minor witness of (vertex type , exactly the left–right pairs adjacent) in — "planar" means only this (Wagner-style) condition, nothing about embeddings. The relation (PlanarGraph.MinorLE) is applied to the underlying pairs.
The hierarchy. For a type and an ordinal , (VStar Q o) is defined by transfinite recursion: ; is the type of nonempty subsets of ; and for a limit ordinal ( and not a successor) is the disjoint union (formally indexed by the canonical well-ordered type of order type , each index standing for the ordinal ), whose elements are tagged pairs with .
The game relation. For a base relation on , the heterogeneous relation (leStar le a X b Y, with and ) is defined by recursion on and then on , by exactly these clauses:
- , (): .
- , : .
- , limit, , : .
- , : .
- , : .
- , limit, , : .
- limit, , : (for every and ).
The well-quasi-order condition. IsWQO of a relation on a type means: for every sequence there exist with (strict ; no axioms on ). IsAlphaWQO le a means IsWQO of the relation on (both sides at the same level ).
Putting it together. statement_06 r asserts: if , then for every sequence there exist with , where is built from ; otherwise (), for every sequence there exist with , where is built from . For instance, statement_06 0 says that every sequence of finite Wagner-planar graphs has with a minor of (minor witness as above); statement_06 1 says the same for every sequence of all finite simple graphs; statement_06 2 says that every sequence of nonempty sets of finite Wagner-planar graphs has such that every is a minor of some ; statement_06 3 says the same for nonempty sets of arbitrary finite graphs; and statement_06 \omega concerns sequences of tagged pairs with at some finite level over planar graphs, compared by first discarding both tags and then applying the clauses above at the two (possibly different) finite levels.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.