fact
stringlengths
8
1.54k
type
stringclasses
19 values
library
stringclasses
8 values
imports
listlengths
1
10
filename
stringclasses
98 values
symbolic_name
stringlengths
1
42
docstring
stringclasses
1 value
cfnorm_orthogonal: '[\sum_(xi <- S) nu xi] = \sum_(xi <- S) '[xi]. Proof. rewrite -(eq_bigr _ (fun _ _ => scale1r _)) cfnorm_sum_orthogonal. by apply: eq_bigr => xi; rewrite normCK conjC1 !mul1r. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfnorm_orthogonal
orthogonal_spanS phi : pairwise_orthogonal S -> phi \in <<S>>%VS -> {z | z = fun xi => '[phi, xi] / '[xi] & phi = \sum_(xi <- S) z xi *: xi}. Proof. move=> oSS /free_span[|c -> _]; first exact: orthogonal_free. set z := fun _ => _ : algC; exists z => //; apply: eq_big_seq => u Su. rewrite /z cfproj_sum_orthogonal...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
orthogonal_span
map_orthonormal: orthonormal (map nu S). Proof. rewrite !orthonormalE map_pairwise_orthogonal // andbT. by apply/allP=> _ /mapP[xi Sxi ->]; rewrite /= Inu ?nS1 // mem_zchar. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
map_orthonormal
cfproj_sum_orthonormalz phi : phi \in S -> '[\sum_(xi <- S) z xi *: nu xi, nu phi] = z phi. Proof. by move=> Sphi; rewrite cfproj_sum_orthogonal // nS1 // mulr1. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfproj_sum_orthonormal
cfdot_sum_orthonormalz1 z2 : '[\sum_(xi <- S) z1 xi *: xi, \sum_(xi <- S) z2 xi *: xi] = \sum_(xi <- S) z1 xi * (z2 xi)^*. Proof. rewrite cfdot_sum_orthogonal //; apply: eq_big_seq => phi /nS1->. by rewrite mulr1. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfdot_sum_orthonormal
cfnorm_sum_orthonormalz : '[\sum_(xi <- S) z xi *: nu xi] = \sum_(xi <- S) `|z xi| ^+ 2. Proof. rewrite cfnorm_sum_orthogonal //. by apply: eq_big_seq => xi /nS1->; rewrite mulr1. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfnorm_sum_orthonormal
cfnorm_map_orthonormal: '[\sum_(xi <- S) nu xi] = (size S)%:R. Proof. by rewrite cfnorm_orthogonal // (eq_big_seq _ nS1) big_tnth sumr_const card_ord. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfnorm_map_orthonormal
orthonormal_spanphi : phi \in <<S>>%VS -> {z | z = fun xi => '[phi, xi] & phi = \sum_(xi <- S) z xi *: xi}. Proof. case/orthogonal_span=> // _ -> {2}->; set z := fun _ => _ : algC. by exists z => //; apply: eq_big_seq => xi /nS1->; rewrite divr1. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
orthonormal_span
cfnorm_orthonormalS : orthonormal S -> '[\sum_(xi <- S) xi] = (size S)%:R. Proof. exact: cfnorm_map_orthonormal. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfnorm_orthonormal
vchar_orthonormalPS : {subset S <= 'Z[irr G]} -> reflect (exists I : {set Iirr G}, exists b : Iirr G -> bool, perm_eq S [seq (-1) ^+ b i *: 'chi_i | i in I]) (orthonormal S). Proof. move=> vcS; apply: (equivP orthonormalP). split=> [[uniqS oSS] | [I [b defS]]]; last first. split=> [|xi1 xi2...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
vchar_orthonormalP
vchar_norm1Pphi : phi \in 'Z[irr G] -> '[phi] = 1 -> exists b : bool, exists i : Iirr G, phi = (-1) ^+ b *: 'chi_i. Proof. move=> Zphi phiN1. have: orthonormal phi by rewrite /orthonormal/= phiN1 eqxx. case/vchar_orthonormalP=> [xi /predU1P[->|] // | I [b def_phi]]. have: phi \in (phi : seq _) := mem_head _ _. by...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
vchar_norm1P
zchar_small_normphi n : phi \in 'Z[irr G] -> '[phi] = n%:R -> (n < 4)%N -> {S : n.-tuple 'CF(G) | [/\ orthonormal S, {subset S <= 'Z[irr G]} & phi = \sum_(xi <- S) xi]}. Proof. move=> Zphi def_n lt_n_4. pose S := [seq '[phi, 'chi_i] *: 'chi_i | i in irr_constt phi]. have def_phi: phi = \sum_(xi <- S) xi. re...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
zchar_small_norm
vchar_norm2phi : phi \in 'Z[irr G, G^#] -> '[phi] = 2 -> exists i, exists2 j, j != i & phi = 'chi_i - 'chi_j. Proof. rewrite zchar_split cfunD1E => /andP[Zphi phi1_0]. case/zchar_small_norm => // [[[|chi [|xi [|?]]] //= S2]]. case=> /andP[/and3P[Nchi Nxi _] /= ochi] /allP/and3P[Zchi Zxi _]. rewrite big_cons big_s...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
vchar_norm2
Zisometry_of_cfnorm(tauS : seq 'CF(G)) : pairwise_orthogonal S -> pairwise_orthogonal tauS -> map cfnorm tauS = map cfnorm S -> {subset tauS <= 'Z[irr G]} -> {tau : {linear 'CF(L) -> 'CF(G)} | map tau S = tauS & {in 'Z[S], isometry tau, to 'Z[irr G]}}. Proof. move=> oSS oTT /isometry_of_cfnorm[||tau de...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
Zisometry_of_cfnorm
Zisometry_of_isof : free S -> {in S, isometry f, to 'Z[irr G]} -> {tau : {linear 'CF(L) -> 'CF(G)} | {in S, tau =1 f} & {in 'Z[S], isometry tau, to 'Z[irr G]}}. Proof. move=> freeS [If Zf]; have [tau Dtau Itau] := isometry_of_free freeS If. exists tau => //; split; first by apply: sub_in2 Itau; apply: zcha...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
Zisometry_of_iso
Zisometry_injA nu : {in 'Z[S, A] &, isometry nu} -> {in 'Z[S, A] &, injective nu}. Proof. by move/isometry_raddf_inj; apply; apply: rpredB. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
Zisometry_inj
isometry_in_zcharnu : {in S &, isometry nu} -> {in 'Z[S] &, isometry nu}. Proof. move=> Inu _ _ /zchar_nth_expansion[u Zu ->] /zchar_nth_expansion[v Zv ->]. rewrite !raddf_sum; apply: eq_bigr => j _ /=. rewrite !cfdot_suml; apply: eq_bigr => i _. by rewrite !raddfZ_int //= !cfdotZl !cfdotZr Inu ?mem_nth. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
isometry_in_zchar
cfAut_zcharS A psi : cfAut_closed u S -> psi \in 'Z[S, A] -> psi^u \in 'Z[S, A]. Proof. rewrite zchar_split => SuS /andP[/zchar_nth_expansion[z Zz Dpsi] Apsi]. rewrite zchar_split cfAut_on {}Apsi {psi}Dpsi rmorph_sum rpred_sum //= => i _. by rewrite cfAutZ_Cint // scale_zchar // mem_zchar ?SuS ?mem_nth. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfAut_zchar
cfAut_vcharA psi : psi \in 'Z[irr G, A] -> psi^u \in 'Z[irr G, A]. Proof. by apply: cfAut_zchar; apply: irr_aut_closed. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfAut_vchar
sub_aut_zcharS A psi : {subset S <= 'Z[irr G]} -> psi \in 'Z[S, A] -> psi^u \in 'Z[S, A] -> psi - psi^u \in 'Z[S, A^#]. Proof. move=> Z_S Spsi Spsi_u; rewrite zcharD1 !cfunE subr_eq0 rpredB //=. by rewrite aut_intr // Cint_vchar1 // (zchar_trans Z_S) ?(zcharW Spsi). Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
sub_aut_zchar
conjC_vcharAutchi x : chi \in 'Z[irr G] -> (u (chi x))^* = u (chi x)^*. Proof. case/vcharP=> chi1 Nchi1 [chi2 Nchi2 ->]. by rewrite !cfunE !rmorphB /= !conjC_charAut. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
conjC_vcharAut
cfdot_aut_vcharphi chi : chi \in 'Z[irr G] -> '[phi^u , chi^u] = u '[phi, chi]. Proof. by case/vcharP=> chi1 Nchi1 [chi2 Nchi2 ->]; rewrite !raddfB /= !cfdot_aut_char. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfdot_aut_vchar
vchar_autA chi : (chi^u \in 'Z[irr G, A]) = (chi \in 'Z[irr G, A]). Proof. rewrite !(zchar_split _ A) cfAut_on; congr (_ && _). apply/idP/idP=> [Zuchi|]; last exact: cfAut_vchar. rewrite [chi]cfun_sum_cfdot rpred_sum // => i _. rewrite scale_zchar ?irr_vchar //. by rewrite -(intr_aut u) -cfdot_aut_irr -aut_IirrE Cint_c...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
vchar_aut
cfConjC_vchar:= cfAut_vchar Num.conj.
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfConjC_vchar
cfRes_vcharphi : phi \in 'Z[irr G] -> 'Res[H] phi \in 'Z[irr H]. Proof. case/vcharP=> xi1 Nx1 [xi2 Nxi2 ->]. by rewrite raddfB rpredB ?char_vchar ?cfRes_char. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfRes_vchar
cfRes_vchar_onA phi : H \subset G -> phi \in 'Z[irr G, A] -> 'Res[H] phi \in 'Z[irr H, A]. Proof. rewrite zchar_split => sHG /andP[Zphi Aphi]; rewrite zchar_split cfRes_vchar //. apply/cfun_onP=> x /(cfun_onP Aphi); rewrite !cfunElock !genGid sHG => ->. exact: mul0rn. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfRes_vchar_on
cfInd_vcharphi : phi \in 'Z[irr H] -> 'Ind[G] phi \in 'Z[irr G]. Proof. move=> /vcharP[xi1 Nx1 [xi2 Nxi2 ->]]. by rewrite raddfB rpredB ?char_vchar ?cfInd_char. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfInd_vchar
sub_conjC_vcharA phi : phi \in 'Z[irr G, A] -> phi - (phi^*)%CF \in 'Z[irr G, A^#]. Proof. move=> Zphi; rewrite sub_aut_zchar ?cfAut_zchar // => _ /irrP[i ->]. exact: irr_vchar. exact: cfConjC_irr. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
sub_conjC_vchar
Frobenius_kernel_exists: [Frobenius G with complement H] -> {K : {group gT} | [Frobenius G = K ><| H]}. Proof. move=> frobG; have [_ ntiHG] := andP frobG. have [[_ sHG regGH][_ tiHG /eqP defNH]] := (normedTI_memJ_P ntiHG, and3P ntiHG). suffices /sigW[K defG]: exists K, gval K ><| H == G by exists K; apply/andP. pose ...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
Frobenius_kernel_exists
dirr(gT : finGroupType) (B : {set gT}) : {pred 'CF(B)} := [pred f | (f \in irr B) || (- f \in irr B)]. Arguments dirr {gT}.
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr
Definition_ := GRing.isOppClosed.Build (classfun G) (dirr G) dirr_oppr_closed.
HB.instance
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
Definition
dirr_oppv : (- v \in dirr G) = (v \in dirr G). Proof. exact: rpredN. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_opp
dirr_signn v : ((-1)^+ n *: v \in dirr G) = (v \in dirr G). Proof. exact: rpredZsign. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_sign
irr_dirri : 'chi_i \in dirr G. Proof. by rewrite !inE mem_irr. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
irr_dirr
dirrPf : reflect (exists b : bool, exists i, f = (-1) ^+ b *: 'chi_i) (f \in dirr G). Proof. apply: (iffP idP) => [| [b [i ->]]]; last by rewrite dirr_sign irr_dirr. case/orP=> /irrP[i Hf]; first by exists false, i; rewrite scale1r. by exists true, i; rewrite scaleN1r -Hf opprK. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirrP
dirrEphi : phi \in dirr G = (phi \in 'Z[irr G]) && ('[phi] == 1). Proof. apply/dirrP/andP=> [[b [i ->]] | [Zphi /eqP/vchar_norm1P]]; last exact. by rewrite rpredZsign irr_vchar cfnorm_sign cfnorm_irr. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirrE
cfdot_dirrf g : f \in dirr G -> g \in dirr G -> '[f, g] = (if f == - g then -1 else (f == g)%:R). Proof. case/dirrP=> [b1 [i1 ->]] /dirrP[b2 [i2 ->]]. rewrite cfdotZl cfdotZr rmorph_sign mulrA -signr_addb cfdot_irr. rewrite -scaleNr -signrN !eq_scaled_irr signr_eq0 !(inj_eq signr_inj) /=. by rewrite -!negb_add addbN ...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfdot_dirr
dirr_norm1phi : phi \in 'Z[irr G] -> '[phi] = 1 -> phi \in dirr G. Proof. by rewrite dirrE => -> -> /=. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_norm1
dirr_autu phi : (cfAut u phi \in dirr G) = (phi \in dirr G). Proof. rewrite !dirrE vchar_aut; apply: andb_id2l => /cfdot_aut_vchar->. exact: fmorph_eq1. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_aut
dIirr(B : {set gT}) := (bool * (Iirr B))%type.
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dIirr
dirr1(B : {set gT}) : dIirr B := (false, 0).
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr1
ndirr(B : {set gT}) (i : dIirr B) : dIirr B := (~~ i.1, i.2).
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
ndirr
ndirr_diff(i : dIirr G) : ndirr i != i. Proof. by case: i => [] [|] i. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
ndirr_diff
ndirrK: involutive (@ndirr G). Proof. by move=> [b i]; rewrite /ndirr /= negbK. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
ndirrK
ndirr_inj: injective (@ndirr G). Proof. exact: (inv_inj ndirrK). Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
ndirr_inj
dchi(B : {set gT}) (i : dIirr B) : 'CF(B) := (-1)^+ i.1 *: 'chi_i.2.
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dchi
dchi1: dchi (dirr1 G) = 1. Proof. by rewrite /dchi scale1r irr0. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dchi1
dirr_dchii : dchi i \in dirr G. Proof. by apply/dirrP; exists i.1; exists i.2. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_dchi
dIrrPphi : reflect (exists i, phi = dchi i) (phi \in dirr G). Proof. by apply: (iffP idP)=> [/dirrP[b]|] [i ->]; [exists (b, i) | apply: dirr_dchi]. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dIrrP
dchi_ndirrE(i : dIirr G) : dchi (ndirr i) = - dchi i. Proof. by case: i => [b i]; rewrite /ndirr /dchi signrN scaleNr. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dchi_ndirrE
cfdot_dchi(i j : dIirr G) : '[dchi i, dchi j] = (i == j)%:R - (i == ndirr j)%:R. Proof. case: i => bi i; case: j => bj j; rewrite cfdot_dirr ?dirr_dchi // !xpair_eqE. rewrite -dchi_ndirrE !eq_scaled_irr signr_eq0 !(inj_eq signr_inj) /=. by rewrite -!negb_add addbN negbK; case: andP => [[->]|]; rewrite ?subr0 ?add0r. ...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfdot_dchi
dchi_vchari : dchi i \in 'Z[irr G]. Proof. by case: i => b i; rewrite rpredZsign irr_vchar. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dchi_vchar
cfnorm_dchi(i : dIirr G) : '[dchi i] = 1. Proof. by case: i => b i; rewrite cfnorm_sign cfnorm_irr. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfnorm_dchi
dirr_inj: injective (@dchi G). Proof. case=> b1 i1 [b2 i2] /eqP; rewrite eq_scaled_irr (inj_eq signr_inj) /=. by rewrite signr_eq0 -xpair_eqE => /eqP. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_inj
dirr_dIirr(B : {set gT}) J (f : J -> 'CF(B)) j : dIirr B := odflt (dirr1 B) [pick i | dchi i == f j].
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_dIirr
dirr_dIirrPEJ (f : J -> 'CF(G)) (P : pred J) : (forall j, P j -> f j \in dirr G) -> forall j, P j -> dchi (dirr_dIirr f j) = f j. Proof. rewrite /dirr_dIirr => dirrGf j Pj; case: pickP => [i /eqP //|]. by have /dIrrP[i-> /(_ i)/eqP] := dirrGf j Pj. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_dIirrPE
dirr_dIirrEJ (f : J -> 'CF(G)) : (forall j, f j \in dirr G) -> forall j, dchi (dirr_dIirr f j) = f j. Proof. by move=> dirrGf j; apply: (@dirr_dIirrPE _ _ xpredT). Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_dIirrE
dirr_constt(B : {set gT}) (phi: 'CF(B)) : {set (dIirr B)} := [set i | 0 < '[phi, dchi i]].
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_constt
dirr_consttE(phi : 'CF(G)) (i : dIirr G) : (i \in dirr_constt phi) = (0 < '[phi, dchi i]). Proof. by rewrite inE. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_consttE
Cnat_dirr(phi : 'CF(G)) i : phi \in 'Z[irr G] -> i \in dirr_constt phi -> '[phi, dchi i] \in Num.nat. Proof. move=> PiZ; rewrite natrEint dirr_consttE andbC => /ltW -> /=. by case: i => b i; rewrite cfdotZr rmorph_sign rpredMsign Cint_cfdot_vchar_irr. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
Cnat_dirr
dirr_constt_oppr(i : dIirr G) (phi : 'CF(G)) : (i \in dirr_constt (-phi)) = (ndirr i \in dirr_constt phi). Proof. by rewrite !dirr_consttE dchi_ndirrE cfdotNl cfdotNr. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_constt_oppr
dirr_constt_oppI(phi: 'CF(G)) : dirr_constt phi :&: dirr_constt (-phi) = set0. Proof. apply/setP=> i; rewrite inE !dirr_consttE cfdotNl inE. apply/idP=> /andP [L1 L2]; have := ltr_pDl L1 L2. by rewrite subrr lt_def eqxx. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_constt_oppI
dirr_constt_oppl(phi: 'CF(G)) i : i \in dirr_constt phi -> (ndirr i) \notin dirr_constt phi. Proof. by rewrite !dirr_consttE dchi_ndirrE cfdotNr oppr_gt0 => /ltW /le_gtF ->. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_constt_oppl
to_dirr(B : {set gT}) (phi : 'CF(B)) (i : Iirr B) : dIirr B := ('[phi, 'chi_i] < 0, i).
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
to_dirr
of_irr(B : {set gT}) (i : dIirr B) : Iirr B := i.2.
Definition
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
of_irr
irr_constt_to_dirr(phi: 'CF(G)) i : phi \in 'Z[irr G] -> (i \in irr_constt phi) = (to_dirr phi i \in dirr_constt phi). Proof. move=> Zphi; rewrite irr_consttE dirr_consttE cfdotZr rmorph_sign /=. by rewrite -real_normrEsign ?normr_gt0 ?Rreal_int // Cint_cfdot_vchar_irr. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
irr_constt_to_dirr
to_dirrK(phi: 'CF(G)) : cancel (to_dirr phi) (@of_irr G). Proof. by []. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
to_dirrK
of_irrK(phi: 'CF(G)) : {in dirr_constt phi, cancel (@of_irr G) (to_dirr phi)}. Proof. case=> b i; rewrite dirr_consttE cfdotZr rmorph_sign /= /to_dirr mulr_sign. by rewrite fun_if oppr_gt0; case: b => [|/ltW/le_gtF] ->. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
of_irrK
cfdot_todirrE(phi: 'CF(G)) i (phi_i := dchi (to_dirr phi i)) : '[phi, phi_i] *: phi_i = '[phi, 'chi_i] *: 'chi_i. Proof. by rewrite cfdotZr rmorph_sign mulrC -scalerA signrZK. Qed.
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfdot_todirrE
cfun_sum_dconstt(phi : 'CF(G)) : phi \in 'Z[irr G] -> phi = \sum_(i in dirr_constt phi) '[phi, dchi i] *: dchi i. Proof. move=> PiZ; rewrite [LHS]cfun_sum_constt. rewrite (reindex (to_dirr phi))=> [/= |]; last first. by exists (@of_irr _)=> //; apply: of_irrK . by apply: eq_big => i; rewrite ?irr_constt_to_dirr...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfun_sum_dconstt
cnorm_dconstt(phi : 'CF(G)) : phi \in 'Z[irr G] -> '[phi] = \sum_(i in dirr_constt phi) '[phi, dchi i] ^+ 2. Proof. move=> PiZ; rewrite {1 2}(cfun_sum_dconstt PiZ). rewrite cfdot_suml; apply: eq_bigr=> i IiD. rewrite cfdot_sumr (bigD1 i) //= big1 ?addr0 => [|j /andP [JiD IdJ]]. rewrite cfdotZr cfdotZl cfdot_dchi ...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cnorm_dconstt
dirr_small_norm(phi : 'CF(G)) n : phi \in 'Z[irr G] -> '[phi] = n%:R -> (n < 4)%N -> [/\ #|dirr_constt phi| = n, dirr_constt phi :&: dirr_constt (- phi) = set0 & phi = \sum_(i in dirr_constt phi) dchi i]. Proof. move=> PiZ Pln; rewrite ltnNge -leC_nat => Nl4. suffices Fd i: i \in dirr_constt phi -> '[phi, dch...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
dirr_small_norm
cfdot_sum_dchi(phi1 phi2 : 'CF(G)) : '[\sum_(i in dirr_constt phi1) dchi i, \sum_(i in dirr_constt phi2) dchi i] = #|dirr_constt phi1 :&: dirr_constt phi2|%:R - #|dirr_constt phi1 :&: dirr_constt (- phi2)|%:R. Proof. rewrite addrC (big_setID (dirr_constt (- phi2))) /= cfdotDl; congr (_ + _). rewrite cfdot...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfdot_sum_dchi
cfdot_dirr_eq1: {in dirr G &, forall phi psi, ('[phi, psi] == 1) = (phi == psi)}. Proof. move=> _ _ /dirrP[b1 [i1 ->]] /dirrP[b2 [i2 ->]]. rewrite eq_signed_irr cfdotZl cfdotZr rmorph_sign cfdot_irr mulrA -signr_addb. rewrite pmulrn -rmorphMsign (eqr_int _ _ 1) -negb_add. by case: (b1 (+) b2) (i1 == i2) => [] []. Qed...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfdot_dirr_eq1
cfdot_add_dirr_eq1: {in dirr G & &, forall phi1 phi2 psi, '[phi1 + phi2, psi] = 1 -> psi = phi1 \/ psi = phi2}. Proof. move=> _ _ _ /dirrP[b1 [i1 ->]] /dirrP[b2 [i2 ->]] /dirrP[c [j ->]] /eqP. rewrite cfdotDl !cfdotZl !cfdotZr !rmorph_sign !cfdot_irr !mulrA -!signr_addb. rewrite 2!{1}signrE !mulrBl !mul1r -!natrM...
Lemma
character
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun eqtype ssrnat seq path", "From mathcomp Require Import div choice fintype tuple finfun bigop prime order", "From mathcomp Require Import ssralg poly finset fingroup morphism perm", "From mathcomp Require Import autom...
character/vcharacter.v
cfdot_add_dirr_eq1
RecordisComplex L of GRing.ClosedField L := { conj : {rmorphism L -> L}; conjK : involutive conj; conj_nt : ~ conj =1 id }. HB.builders Context L of isComplex L.
HB.factory
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
Record
nz2: 2 != 0 :> L. Proof. apply/eqP=> pchar2; apply: conj_nt => e; apply/eqP/idPn=> eJ. have opp_id x: - x = x :> L. by apply/esym/eqP; rewrite -addr_eq0 -mulr2n -mulr_natl pchar2 mul0r. have{} pchar2: 2%N \in [pchar L] by apply/eqP. without loss{eJ} eJ: e / conj e = e + 1. move/(_ (e / (e + conj e))); a...
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
nz2
mul2I: injective (fun z : L => z *+ 2). Proof. have nz2 := nz2. by move=> x y; rewrite /= -mulr_natl -(mulr_natl y) => /mulfI->. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
mul2I
sqrtx : L := sval (sig_eqW (@solve_monicpoly _ 2%N (nth 0 [:: x]) isT)).
Definition
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
sqrt
sqrtKx: sqrt x ^+ 2 = x. Proof. rewrite /sqrt; case: sig_eqW => /= y ->. by rewrite !big_ord_recl big_ord0 /= mulr1 mul0r !addr0. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
sqrtK
sqrtEx y: y ^+ 2 = x -> {b : bool | y = (-1) ^+ b * sqrt x}. Proof. move=> Dx; exists (y != sqrt x); apply/eqP; rewrite mulr_sign if_neg. by case: ifPn => //; apply/implyP; rewrite implyNb -eqf_sqr Dx sqrtK. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
sqrtE
i:= sqrt (- 1).
Definition
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
i
sqrMix: (i * x) ^+ 2 = - x ^+ 2. Proof. by rewrite exprMn sqrtK mulN1r. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
sqrMi
iJ: conj i = - i. Proof. have nz2 := nz2. have /sqrtE[b]: conj i ^+ 2 = - 1 by rewrite -rmorphXn /= sqrtK rmorphN1. rewrite mulr_sign -/i; case: b => // Ri. case: conj_nt => z; wlog zJ: z / conj z = - z. move/(_ (z - conj z)); rewrite !rmorphB conjK opprB => zJ. by apply/mul2I/(canRL (subrK _)); rewrite...
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
iJ
normx := sqrt x * conj (sqrt x).
Definition
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
norm
normKx : norm x ^+ 2 = x * conj x. Proof. by rewrite exprMn -rmorphXn sqrtK. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
normK
normEx y : y ^+ 2 = x -> norm x = y * conj y. Proof. rewrite /norm => /sqrtE[b /(canLR (signrMK b)) <-]. by rewrite !rmorphM /= rmorph_sign mulrACA -mulrA signrMK. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
normE
norm_eq0x : norm x = 0 -> x = 0. Proof. by move/eqP; rewrite mulf_eq0 fmorph_eq0 -mulf_eq0 -expr2 sqrtK => /eqP. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
norm_eq0
normMx y : norm (x * y) = norm x * norm y. Proof. by rewrite mulrACA -rmorphM; apply: normE; rewrite exprMn !sqrtK. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
normM
normNx : norm (- x) = norm x. Proof. by rewrite -mulN1r normM {1}/norm iJ mulrN -expr2 sqrtK opprK mul1r. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
normN
lex y := norm (y - x) == y - x.
Definition
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
le
ltx y := (y != x) && le x y.
Definition
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
lt
posEx: le 0 x = (norm x == x). Proof. by rewrite /le subr0. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
posE
leBx y: le x y = le 0 (y - x). Proof. by rewrite posE. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
leB
posPx : reflect (exists y, x = y * conj y) (le 0 x). Proof. rewrite posE; apply: (iffP eqP) => [Dx | [y {x}->]]; first by exists (sqrt x). by rewrite (normE (normK y)) rmorphM /= conjK (mulrC (conj _)) -expr2 normK. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
posP
posJx : le 0 x -> conj x = x. Proof. by case/posP=> {x}u ->; rewrite rmorphM /= conjK mulrC. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
posJ
pos_linearx y : le 0 x -> le 0 y -> le x y || le y x. Proof. move=> pos_x pos_y; rewrite leB -opprB orbC leB !posE normN -eqf_sqr. by rewrite normK rmorphB !posJ ?subrr. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
pos_linear
sposDlx y : lt 0 x -> le 0 y -> lt 0 (x + y). Proof. have sqrtJ z : le 0 z -> conj (sqrt z) = sqrt z. rewrite posE -{2}[z]sqrtK -subr_eq0 -mulrBr mulf_eq0 subr_eq0. by case/pred2P=> ->; rewrite ?rmorph0. case/andP=> nz_x /sqrtJ uJ /sqrtJ vJ. set u := sqrt x in uJ; set v := sqrt y in vJ; pose w := u + i * ...
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
sposDl
sposDx y : lt 0 x -> lt 0 y -> lt 0 (x + y). Proof. by move=> x_gt0 /andP[_]; apply: sposDl. Qed.
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
sposD
normDx y : le (norm (x + y)) (norm x + norm y). Proof. have sposM u v: lt 0 u -> le 0 (u * v) -> le 0 v. by rewrite /lt !posE normM andbC => /andP[/eqP-> /mulfI/inj_eq->]. have posD u v: le 0 u -> le 0 v -> le 0 (u + v). have [-> | nz_u u_ge0 v_ge0] := eqVneq u 0; first by rewrite add0r. by have /andP[]...
Lemma
field
[ "From HB Require Import structures", "From mathcomp Require Import ssreflect ssrbool ssrfun ssrnat eqtype seq choice", "From mathcomp Require Import div fintype path bigop finset prime order ssralg", "From mathcomp Require Import poly polydiv mxpoly generic_quotient countalg", "From mathcomp Require Import ...
field/algC.v
normD