Skip to content
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

EC/ECNF consistency in local data display #6287

Merged
merged 2 commits into from
Dec 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
EC/ECNF consistency in local data display
JohnCremona committed Dec 4, 2024
commit b64f1d2dab84727ecc441fa95dff68a223015ede
30 changes: 22 additions & 8 deletions lmfdb/ecnf/templates/ecnf-curve.html
Original file line number Diff line number Diff line change
@@ -276,7 +276,7 @@ <h2> {{ KNOWL('ec.bsdconjecture', title='BSD invariants') }}</h2>
</tr>

<tr>
<td align='left'>{{ KNOWL('ec.period', title='Period') }}:</td>
<td align='left'>{{ KNOWL('ec.period', title='Global period') }}:</td>
<td>$\Omega(E/K)$</td><td>&approx;</td>
<td> {{ ec.omega }}</td>
</tr>
@@ -341,25 +341,41 @@ <h2>{{KNOWL('ec.local_data', title='Local data')}} at {{KNOWL('ec.bad_reduction'
<div>
{{ place_code('localdata') }}

<p>
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 %}
</p>


{% if ec.local_data %}
<table class="ntdata"><thead>
<tr>
<th>prime</th>
<th>Norm</th>
<th>$\mathfrak{p}$</th>
<th>$N(\mathfrak{p})$</th>
<th>{{KNOWL('ec.tamagawa_number', title='Tamagawa number')}}</th>
<th>{{KNOWL('ec.kodaira_symbol', title='Kodaira symbol')}}</th>
<th>{{KNOWL('ec.reduction_type', title='Reduction type')}}</th>
{% if ec.local_data.0.rootno %}
<th>{{KNOWL('ec.local_root_number', title='Root number')}}</th>
{% endif %}
<th>{{KNOWL('ec.conductor_valuation', title='ord(\(\mathfrak{N}\))')}}</th>
<th>{{KNOWL('ec.discriminant_valuation', title='ord(\(\mathfrak{D}\))')}}</th>
<th>{{KNOWL('ec.j_invariant_denominator_valuation', title='ord\((j)_{-}\)')}}</th>
<th>{{KNOWL('ec.conductor_valuation', title='\(\mathrm{ord}_{\mathfrak{p}}(\mathfrak{N}\))')}}</th>
<th>{{KNOWL('ec.discriminant_valuation', title='\(\mathrm{ord}_{\mathfrak{p}}(\mathfrak{D}_{\mathrm{min}}\))')}}</th>
<th>{{KNOWL('ec.j_invariant_denominator_valuation', title='\(\mathrm{ord}_{\mathfrak{p}}(\mathrm{den}(j))\)')}}</th>
</tr>
</thead><tbody>
{% for pr in ec.local_data %}
@@ -397,8 +413,6 @@ <h2>{{KNOWL('ec.local_data', title='Local data')}} at {{KNOWL('ec.bad_reduction'
{% endfor %}
</tbody>
</table>
{% else %}
No primes of bad reduction.
{% endif %}
</div>

8 changes: 4 additions & 4 deletions lmfdb/elliptic_curves/templates/ec-curve.html
Original file line number Diff line number Diff line change
@@ -406,7 +406,7 @@ <h4> {{ KNOWL('ec.q.modular_degree', title='Modular degree') }}
{% endif %}
</p>

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

<style type="text/css">
#local_data th, #local_data td, #serre_data th, #serre_data td {
@@ -433,9 +433,9 @@ <h2> Local data </h2>
<th>{{KNOWL('ec.q.kodaira_symbol', title='Kodaira symbol')}}</th>
<th>{{KNOWL('ec.q.reduction_type', title='Reduction type')}}</th>
<th>{{KNOWL('ec.local_root_number', title='Root number')}}</th>
<th>{{KNOWL('ec.conductor_valuation', title='$v_p(N)$')}}</th>
<th>{{KNOWL('ec.discriminant_valuation', title='$v_p(\Delta)$')}}</th>
<th>{{KNOWL('ec.j_invariant_denominator_valuation', title='$v_p(\mathrm{den}(j))$')}}</th>
<th>{{KNOWL('ec.conductor_valuation', title='$\mathrm{ord}_p(N)$')}}</th>
<th>{{KNOWL('ec.discriminant_valuation', title='$\mathrm{ord}_p(\Delta)$')}}</th>
<th>{{KNOWL('ec.j_invariant_denominator_valuation', title='$\mathrm{ord}_p(\mathrm{den}(j))$')}}</th>
</tr>
</thead><tbody>
{% for pr in data.local_data %}