-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
experimentally: allow small hight lifts #1506
Conversation
julia> k, a = wildanger_field(3, 13) (Number field of degree 3 over QQ, _$) julia> c, mc = Hecke.unramified_completion(k, prime_ideals_over(maximal_order(k), 17)[1]) (Unramified extension of 17-adic numbers of degree 1, Map: k -> c) julia> preimage(mc, mc(a)) 2639044339939425523644123345123996041787685738888204449072451948418018872324117 julia> preimage(mc, mc(a); small_lift = true, integral = true) _$ julia> preimage(mc, mc(a^3//5-2); small_lift = true) 13//5*_$^2 - 13//5*_$ + 3//5 (and the same for plain completion) needs tests and polish, but Simon wanted to play
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1506 +/- ##
==========================================
- Coverage 75.37% 75.36% -0.02%
==========================================
Files 354 354
Lines 112723 112811 +88
==========================================
+ Hits 84966 85021 +55
- Misses 27757 27790 +33
|
Thank you! (Edit: The example works now, it seems that revise did not update the type definition) |
Can someone supply an example? Then we can add a test and get this in. |
This seems to work for unramified extensions, but for ramified ones not. |
julia> k, a = wildanger_field(3, 13)
(Number field of degree 3 over QQ, _$)
julia> c, mc = Hecke.unramified_completion(k, prime_ideals_over(maximal_order(k), 17)[1]) (Unramified extension of 17-adic numbers of degree 1, Map: k -> c)
julia> preimage(mc, mc(a))
2639044339939425523644123345123996041787685738888204449072451948418018872324117
julia> preimage(mc, mc(a); small_lift = true, integral = true) _$
julia> preimage(mc, mc(a^3//5-2); small_lift = true) 13//5*$^2 - 13//5*$ + 3//5
(and the same for plain completion)
needs tests and polish, but Simon wanted to play