Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

""" 

Shimura Mass 

""" 

###################################################### 

## Routines to compute the mass of a quadratic form ## 

###################################################### 

 

## Import all general mass finding routines 

from sage.quadratic_forms.quadratic_form__mass__Siegel_densities import \ 

mass__by_Siegel_densities, \ 

Pall_mass_density_at_odd_prime, \ 

Watson_mass_at_2, \ 

Kitaoka_mass_at_2, \ 

mass_at_two_by_counting_mod_power 

from sage.quadratic_forms.quadratic_form__mass__Conway_Sloane_masses import \ 

parity, \ 

is_even, \ 

is_odd, \ 

conway_species_list_at_odd_prime, \ 

conway_species_list_at_2, \ 

conway_octane_of_this_unimodular_Jordan_block_at_2, \ 

conway_diagonal_factor, \ 

conway_cross_product_doubled_power, \ 

conway_type_factor, \ 

conway_p_mass, \ 

conway_standard_p_mass, \ 

conway_standard_mass, \ 

conway_mass 

# conway_generic_mass, \ 

# conway_p_mass_adjustment 

 

################################################### 

 

 

def shimura_mass__maximal(self,): 

""" 

Use Shimura's exact mass formula to compute the mass of a maximal 

quadratic lattice. This works for any totally real number field, 

but has a small technical restriction when `n` is odd. 

 

INPUT: 

 

none 

 

OUTPUT: 

 

a rational number 

 

EXAMPLES:: 

 

sage: Q = DiagonalQuadraticForm(ZZ, [1,1,1]) 

sage: Q.shimura_mass__maximal() 

 

""" 

pass 

 

 

 

def GHY_mass__maximal(self): 

""" 

Use the GHY formula to compute the mass of a (maximal?) quadratic 

lattice. This works for any number field. 

 

Reference: See [GHY, Prop 7.4 and 7.5, p121] and [GY, Thrm 10.20, p25]. 

 

INPUT: 

 

none 

 

OUTPUT: 

 

a rational number 

 

EXAMPLES:: 

 

sage: Q = DiagonalQuadraticForm(ZZ, [1,1,1]) 

sage: Q.GHY_mass__maximal() 

 

""" 

pass