Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Freiman late: swapped fork endpoint alignment

Proved
Freiman.late_fork_endpoints_swapped

by Koki Yamada · Sep 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

finite-certificatesfreimanhall-raylate

This is the swapped case of incoming-order fork alignment. For a matching cover and a catalogue path whose recorded fork orientation is right-wide, lowerChild swaps the pair before appending the goodness digit d∈{1,2}d\in\{1,2\}d∈{1,2}, while the source fork record retains physical order. The two pairs are swaps of each other; their continued-fraction endpoints nevertheless agree, including at a possible width tie after the digit is appended.

lowerEndpoint(child(child(p,n),d))=lowerEndpoint(N++forkWords(n,d)).\mathrm{lowerEndpoint}(\mathrm{child}(\mathrm{child}(p,n),d))=\mathrm{lowerEndpoint}(N\mathbin{++}\mathrm{forkWords}(n,d)).lowerEndpoint(child(child(p,n),d))=lowerEndpoint(N++forkWords(n,d)).
Preamble
import Definitions.Def_Freiman_lateGeometry
import Mathlib.Tactic

set_option maxRecDepth 8000
set_option maxHeartbeats 0

open Freiman
Formal statement
theorem Freiman.late_fork_endpoints_swapped (p : LowerPair) (path : LatePath) (hm : lateMatches p path.right3) (hv : latePathValid lateCatalog path) (hn : ∀ n ∈ path.normalizations, lateNormalizationHolds p n) (n : LateNormalization) (hmem : n ∈ path.normalizations) (d : ℕ+) (hd : d ∈ ([1, 2] : List ℕ+)) (upper : Bool) (hw : n.wide = true) : lowerEndpoint (lowerChild (lowerChild p n.label) ([d], [])) upper = lowerEndpoint (lowerHistoryAppend (lowerNormalize p) (lateForkWords n d)) upper := by
  sorry
Source
Freiman report, §15, printed source pages 140–144; swapped case of Freiman.late_fork_endpoints.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me