From b64f1d2dab84727ecc441fa95dff68a223015ede Mon Sep 17 00:00:00 2001 From: John Cremona Date: Wed, 4 Dec 2024 04:28:43 -0500 Subject: [PATCH 01/11] EC/ECNF consistency in local data display --- lmfdb/ecnf/templates/ecnf-curve.html | 30 ++++++++++++++----- lmfdb/elliptic_curves/templates/ec-curve.html | 8 ++--- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/lmfdb/ecnf/templates/ecnf-curve.html b/lmfdb/ecnf/templates/ecnf-curve.html index baed8cc381..be4782efcf 100644 --- a/lmfdb/ecnf/templates/ecnf-curve.html +++ b/lmfdb/ecnf/templates/ecnf-curve.html @@ -276,7 +276,7 @@

{{ KNOWL('ec.bsdconjecture', title='BSD invariants') }}

- {{ KNOWL('ec.period', title='Period') }}: + {{ KNOWL('ec.period', title='Global period') }}: $\Omega(E/K)$≈ {{ ec.omega }} @@ -341,25 +341,41 @@

{{KNOWL('ec.local_data', title='Local data')}} at {{KNOWL('ec.bad_reduction'
{{ place_code('localdata') }} +

+ This elliptic curve is {{ '' if ec.semistable else 'not' }} {{KNOWL('ec.semistable', title='semistable')}}. + There + {% if ec.n_bad_primes==0 %} + are no primes + {% else %} + {% if ec.n_bad_primes==1 %} + is only one prime $\frak{p}$ + {% else %} + are {{ec.n_bad_primes }} primes $\frak{p}$ + {% endif %} + {% endif %} + of {{KNOWL('ec.q.reduction_type', title='bad reduction')}}. + {% if not ec.is_minimal %} Primes of good reduction for the curve but which divide the discriminant of the model above (if any) are included. {% endif %} +

+ {% if ec.local_data %} - - + + {% if ec.local_data.0.rootno %} {% endif %} - - - + + + {% for pr in ec.local_data %} @@ -397,8 +413,6 @@

{{KNOWL('ec.local_data', title='Local data')}} at {{KNOWL('ec.bad_reduction' {% endfor %}

primeNorm$\mathfrak{p}$$N(\mathfrak{p})$ {{KNOWL('ec.tamagawa_number', title='Tamagawa number')}} {{KNOWL('ec.kodaira_symbol', title='Kodaira symbol')}} {{KNOWL('ec.reduction_type', title='Reduction type')}}{{KNOWL('ec.local_root_number', title='Root number')}}{{KNOWL('ec.conductor_valuation', title='ord(\(\mathfrak{N}\))')}}{{KNOWL('ec.discriminant_valuation', title='ord(\(\mathfrak{D}\))')}}{{KNOWL('ec.j_invariant_denominator_valuation', title='ord\((j)_{-}\)')}}{{KNOWL('ec.conductor_valuation', title='\(\mathrm{ord}_{\mathfrak{p}}(\mathfrak{N}\))')}}{{KNOWL('ec.discriminant_valuation', title='\(\mathrm{ord}_{\mathfrak{p}}(\mathfrak{D}_{\mathrm{min}}\))')}}{{KNOWL('ec.j_invariant_denominator_valuation', title='\(\mathrm{ord}_{\mathfrak{p}}(\mathrm{den}(j))\)')}}
-{% else %} -No primes of bad reduction. {% endif %}
diff --git a/lmfdb/elliptic_curves/templates/ec-curve.html b/lmfdb/elliptic_curves/templates/ec-curve.html index e49ec675c7..78c1c9fa1a 100644 --- a/lmfdb/elliptic_curves/templates/ec-curve.html +++ b/lmfdb/elliptic_curves/templates/ec-curve.html @@ -406,7 +406,7 @@

{{ KNOWL('ec.q.modular_degree', title='Modular degree') }} {% endif %}

-

Local data

+

{{KNOWL('ec.local_data', title='Local data')}} at {{KNOWL('ec.bad_reduction', title='primes of bad reduction')}}