Conversation
Contributor
|
Why do we need this again? |
Owner
Author
|
It's often a nicer constructor than the regular one. If you read ONAG you'll notice Conway defines his series as sums |
plp127
reviewed
Apr 1, 2026
Comment on lines
+567
to
+570
| simp_rw [mk.injEq, heq_eq_eq, true_and] | ||
| constructor <;> ext | ||
| · exact he .. | ||
| · exact hc .. |
Contributor
There was a problem hiding this comment.
Does this work?
Suggested change
| simp_rw [mk.injEq, heq_eq_eq, true_and] | |
| constructor <;> ext | |
| · exact he .. | |
| · exact hc .. | |
| cases funext fun t : Iio _ => he t.1 t.2 | |
| cases funext fun t : Iio _ => hc t.1 t.2 | |
| rfl |
Contributor
There was a problem hiding this comment.
Ah lemme try again
Suggested change
| simp_rw [mk.injEq, heq_eq_eq, true_and] | |
| constructor <;> ext | |
| · exact he .. | |
| · exact hc .. | |
| cases funext fun t : Iio _ => he t.1 t.2 t.2 | |
| cases funext fun t : Iio _ => hc t.1 t.2 t.2 | |
| rfl |
Owner
Author
There was a problem hiding this comment.
Still no. I get a "Dependent elimination failed" error.
plp127
reviewed
Apr 17, 2026
| coeffIdx s i = s.coeff ⟨i, h⟩ := by | ||
| rw [coeffIdx_of_lt (by simpa), exp_coe, coeff_coe] | ||
|
|
||
| theorem coeffIdx_coe_of_le {s : TermSeq} {i} (h : s.length ≤ i) : coeffIdx s i = 0 := |
| term s i = s.coeff ⟨i, h⟩ * ω^ s.exp ⟨i, h⟩ := by | ||
| rw [term_of_lt (by simpa), coeffIdx_coe_of_lt, exp_coe] | ||
|
|
||
| theorem term_coe_of_le {s : TermSeq} {i} (h : s.length ≤ i) : term s i = 0 := |
Contributor
There was a problem hiding this comment.
Same here, use _of_ge to match the _of_lt theorem.
| ofSurrealHahnSeries x = ofSurrealHahnSeries y ↔ x = y := | ||
| surrealHahnSeriesEquiv.symm.apply_eq_iff_eq | ||
|
|
||
| end TermSeq |
Contributor
There was a problem hiding this comment.
Suggested change
| end TermSeq | |
| end TermSeq | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We define an auxiliary type
TermSeqfor an ordinal-indexed sequence of termsr * ω^ iwith non-zero coefficients and decreasing exponents. These provide an alternate, often more convenient representation for surreal Hahn series. We provide basic API, and build the equiv between both types.