OAI/NumberTheory/Ostmann/Construction/TransferGraph.lean
6 declarations, 0 contain sorry, 0 declared as axioms
The graph update and the regular-row invariant in one transfer
- def
OAI.Ostmann.transferCopySignline 10Source documentation
The true branch is the positive copy.
def transferCopySign (t : Bool) : ℤ := if t then 1 else -1
- def
OAI.Ostmann.transferredGraphline 14Source documentation
noneis the erased pivot;some (inl h)is a copied slot andsome (inr y)is a shared outside slot.def transferredGraph {H Y : Type*} (b : Option (H ⊕ Y) → Option (H ⊕ Y) → ℤ) : ((Bool × H) ⊕ Y) → ((Bool × H) ⊕ Y) → ℤ | .inl (t, h), .inl (u, k) => if t = u then transferCopySign t * b (some (.inl h)) (some (.inl k)) else transferCopySign t * b (some (.inl h)) none | .inl (t, h), .inr y => transferCopySign t * b (some (.inl h)) (some (.inr y)) | .inr y, .inl (t, h) => transferCopySign t * b (some (.inr y)) (some (.inl h)) | .inr _, .inr _ => 0Mentions: OAI.Ostmann.transferCopySign
- def
OAI.Ostmann.RegularGraphRowline 24 - theorem
OAI.Ostmann.transferredGraph_regularline 27 - theorem
OAI.Ostmann.transferredGraph_diagonalline 49 - theorem
OAI.Ostmann.transferredGraph_common_columnline 59Source documentation
A future pivot is retained in one fixed copy. Its incoming column is still constant on its constituent slots.
theorem transferredGraph_common_column {H Y : Type*} (b : Option (H ⊕ Y) → Option (H ⊕ Y) → ℤ) (K : Set H) (hc : ∀ i : Option (H ⊕ Y), (∀ h ∈ K, i ≠ some (.inl h)) → ∀ h ∈ K, ∀ k ∈ K, b i (some (.inl h)) = b i (some (.inl k))) (t : Bool) (i : (Bool × H) ⊕ Y) (hi : ∀ h ∈ K, i ≠ .inl (t, h)) : ∀ h ∈ K, ∀ k ∈ K, transferredGraph b i (.inl (t, h)) = transferredGraph b i (.inl (t, k)) := by …Mentions: OAI.Ostmann.transferredGraph