OAI/NumberTheory/TwoPoint/Walks/WordRelations.lean
16 declarations, 0 contain sorry, 0 declared as axioms
Concrete internal and comparison congruences as prime-variable relations.
- def
OAI.TwoPointCorrelations.relationAddline 13 - def
OAI.TwoPointCorrelations.relationNegline 16 - lemma
OAI.TwoPointCorrelations.relationAdd_evalline 20 - lemma
OAI.TwoPointCorrelations.relationNeg_evalline 25 - lemma
OAI.TwoPointCorrelations.relationAdd_contributionline 29 - lemma
OAI.TwoPointCorrelations.relationNeg_contributionline 37 - lemma
OAI.TwoPointCorrelations.relationAdd_supportline 45 - lemma
OAI.TwoPointCorrelations.relationNeg_supportline 50 - lemma
OAI.TwoPointCorrelations.LabeledPrimeWord.occurrence_has_labelline 58 - theorem
OAI.TwoPointCorrelations.LabeledPrimeWord.active_relationline 68Source documentation
The active numerical relation supplies a concrete interval polynomial with the required nonzero coefficient and a distinct controlling label.
theorem active_relation (w : LabeledPrimeWord ι) (h : ℕ) (value : ι → ℕ) (hinj : Function.Injective value) (hprime : ∀ j, (value j).Prime) (hw : w.Realizes value) (y : ι) (hy : ActivePrime h w.word (value y)) : ∃ c a b, c ≠ y ∧ a ≤ b ∧ b ≤ w.word.length ∧ primeRelationEvent (w.intervalRelation h a b) y c (fun j => (value j : ℤ)) := by …Mentions: OAI.TwoPointCorrelations.LabeledPrimeWord, OAI.TwoPointCorrelations.ActivePrime, OAI.TwoPointCorrelations.primeRelationEvent
- lemma
OAI.TwoPointCorrelations.LabeledPrimeWord.intervalRelation_not_memline 86 - def
OAI.TwoPointCorrelations.comparisonRelationline 98Source documentation
The three contiguous parts of the earlier-departure comparison.
def comparisonRelation {ι : Type*} [DecidableEq ι] (main wi wj : LabeledPrimeWord ι) (h aj ai ri rj : ℕ) := … - lemma
OAI.TwoPointCorrelations.comparisonRelation_evalline 103 - lemma
OAI.TwoPointCorrelations.comparisonRelation_contributionline 116 - lemma
OAI.TwoPointCorrelations.comparisonRelation_not_memline 132 - lemma
OAI.TwoPointCorrelations.comparisonRelation_eventline 148Source documentation
Simultaneous positivity supplies the comparison congruence, and the exact selected contribution supplies its retained nondegeneracy test.
lemma comparisonRelation_event {ι : Type*} [DecidableEq ι] (main wi wj : LabeledPrimeWord ι) (h aj ai ri rj : ℕ) (value : ι → ℕ) (hinj : Function.Injective value) (hprime : ∀ j, (value j).Prime) (hm : main.Realizes value) (hi : wi.Realizes value) (hj : wj.Realizes value) (hai : ai ≤ main.word.length) (haji : aj ≤ ai) (x : ℤ) (selected control : ι) (hwi : PositiveWord h (x + wordDisplacement h (main.word.take ai)) wi.word) (hwj : PositiveWord h (x + wordDisplacement h (main.word.take aj)) wj.word) (hci : TuplePrimeAt wi.word (value control) ri) (hcj : TuplePrimeAt wj.word (value control) rj) (hnonzero : ¬(value control : ℤ) ∣ wordPrimeContribution h main.word (value selected) aj ai + wordPrimeContribution h wi.word (value selected) 0 ri - …Mentions: OAI.TwoPointCorrelations.LabeledPrimeWord, OAI.TwoPointCorrelations.PositiveWord, OAI.TwoPointCorrelations.wordDisplacement, OAI.TwoPointCorrelations.TuplePrimeAt, OAI.TwoPointCorrelations.wordPrimeContribution