Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.
Exact expanded first-order arithmetic statement
forall a b c d e f g h N M. (exists ge_real_square_factor_left ge_imaginary_square_factor_left. ((((((a) * (a))) + (((b) * (b)))) = ((ge_real_square_factor_left) + (((((a) * (b))) + (((b) * (a))))))) /\ ((((((c) * (c))) + (((d) * (d)))) = ((ge_imaginary_square_factor_left) + (((((c) * (d))) + (((d) * (c))))))) /\ ((N) = ge_real_square_factor_left + ge_imaginary_square_factor_left)))) -> (exists ge_real_square_factor_right ge_imaginary_square_factor_right. ((((((e) * (e))) + (((f) * (f)))) = ((ge_real_square_factor_right) + (((((e) * (f))) + (((f) * (e))))))) /\ ((((((g) * (g))) + (((h) * (h)))) = ((ge_imaginary_square_factor_right) + (((((g) * (h))) + (((h) * (g))))))) /\ ((M) = ge_real_square_factor_right + ge_imaginary_square_factor_right)))) -> (exists ge_real_square_product_norm ge_imaginary_square_product_norm. ((((((((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g))))))) * (((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g))))))))) + (((((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h))))))) * (((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h)))))))))) = ((ge_real_square_product_norm) + (((((((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g))))))) * (((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h))))))))) + (((((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h))))))) * (((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g))))))))))))) /\ ((((((((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f))))))) * (((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f))))))))) + (((((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e))))))) * (((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e)))))))))) = ((ge_imaginary_square_product_norm) + (((((((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f))))))) * (((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e))))))))) + (((((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e))))))) * (((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f))))))))))))) /\ ((N * M) = ge_real_square_product_norm + ge_imaginary_square_product_norm))))Constructive proof overview
Generated structural guide
The actual squared Gaussian norm is multiplicative for arbitrary signed representatives, by checked two-coordinate Lagrange cancellation.
The unchanged tactic script uses 9 declared prerequisites and contains 109 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
GI0006 gaussian_signed_square_exists GI0018 gaussian_signed_product_cross_interchange GI0019 gaussian_signed_square_lagrange GI000D gaussian_signed_square_product add_mul Stable theorem; checked-use authorized mul_add Stable theorem; checked-use authorized add_assoc Stable theorem; checked-use authorized add_comm Stable theorem; checked-use authorized four_square_add_swap_right_tail Alpha theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
Named ingredients (4)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–12
03Separate the logical casesL13–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
04Establish hrealL21–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian signed square exists.
- L21
have hreal : ∃ s. SignedDifferenceSquare(a · e + b · f + (c · h + d · g),a · f + b · e + (c · g + d · h),s)Definitions: SignedDifferenceSquare - L22
specialize gaussian_signed_square_exists ((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g)))))) - L23
specialize gaussian_signed_square_exists ((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h)))))) - L24
apply gaussian_signed_square_exists
05Separate the logical casesL25–25
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L25
cases hreal
06Establish himaginaryL26–29
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian signed square exists.
- L26
have himaginary : ∃ t. SignedDifferenceSquare(a · g + b · h + (c · e + d · f),a · h + b · g + (c · f + d · e),t)Definitions: SignedDifferenceSquare - L27
specialize gaussian_signed_square_exists ((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f)))))) - L28
specialize gaussian_signed_square_exists ((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e)))))) - L29
apply gaussian_signed_square_exists
07Separate the logical casesL30–30
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L30
cases himaginary
08Establish hcrossL31–40
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian signed product cross interchange.
- L31
have hcross · expand full local formula (642 characters)
have hcross : (((((((((((a) * (e))) + (((b) * (f))))) * (((((c) * (g))) + (((d) * (h))))))) + (((((((a) * (f))) + (((b) * (e))))) * (((((c) * (h))) + (((d) * (g))))))))) = (((((((((a) * (g))) + (((b) * (h))))) * (((((c) * (e))) + (((d) * (f))))))) + (((((((a) * (h))) + (((b) * (g))))) * (((((c) * (f))) + (((d) * (e)))))))))) /\ ((((((((((a) * (e))) + (((b) * (f))))) * (((((c) * (h))) + (((d) * (g))))))) + (((((((a) * (f))) + (((b) * (e))))) * (((((c) * (g))) + (((d) * (h))))))))) = (((((((((a) * (g))) + (((b) * (h))))) * (((((c) * (f))) + (((d) * (e))))))) + (((((((a) * (h))) + (((b) * (g))))) * (((((c) * (e))) + (((d) * (f))))))))))) - L32
specialize gaussian_signed_product_cross_interchange a - L33
specialize gaussian_signed_product_cross_interchange b - L34
specialize gaussian_signed_product_cross_interchange c - L35
specialize gaussian_signed_product_cross_interchange d - L36
specialize gaussian_signed_product_cross_interchange e - L37
specialize gaussian_signed_product_cross_interchange f - L38
specialize gaussian_signed_product_cross_interchange g - L39
specialize gaussian_signed_product_cross_interchange h - L40
apply gaussian_signed_product_cross_interchange
09Separate the logical casesL41–41
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L41
cases hcross
10Establish hnormL42–51
Establish this local claim before using it. It is not an additional assumption.
- L42
have hnorm : x4 + x5 = ((((x * x2) + (x1 * x3))) + (((x * x3) + (x1 * x2)))) - L43
specialize gaussian_signed_square_lagrange ((((a) * (e))) + (((b) * (f)))) - L44
specialize gaussian_signed_square_lagrange ((((a) * (f))) + (((b) * (e)))) - L45
specialize gaussian_signed_square_lagrange ((((c) * (g))) + (((d) * (h)))) - L46
specialize gaussian_signed_square_lagrange ((((c) * (h))) + (((d) * (g)))) - L47
specialize gaussian_signed_square_lagrange ((((a) * (g))) + (((b) * (h)))) - L48
specialize gaussian_signed_square_lagrange ((((a) * (h))) + (((b) * (g)))) - L49
specialize gaussian_signed_square_lagrange ((((c) * (e))) + (((d) * (f)))) - L50
specialize gaussian_signed_square_lagrange ((((c) * (f))) + (((d) * (e)))) - L51
specialize gaussian_signed_square_lagrange x * x2
11Use earlier factsL52–61
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L52
specialize gaussian_signed_square_lagrange x1 * x3 - L53
specialize gaussian_signed_square_lagrange x * x3 - L54
specialize gaussian_signed_square_lagrange x1 * x2 - L55
specialize gaussian_signed_square_lagrange x4 - L56
specialize gaussian_signed_square_lagrange x5 - L57
apply gaussian_signed_square_lagrange - L58
specialize gaussian_signed_square_product a - L59
specialize gaussian_signed_square_product b - L60
specialize gaussian_signed_square_product e - L61
specialize gaussian_signed_square_product f
12Use earlier factsL62–71
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L62
specialize gaussian_signed_square_product x - L63
specialize gaussian_signed_square_product x2 - L64
apply gaussian_signed_square_product - L65
exact hfirst_witness_witness_left - L66
exact hsecond_witness_witness_left - L67
specialize gaussian_signed_square_product c - L68
specialize gaussian_signed_square_product d - L69
specialize gaussian_signed_square_product g - L70
specialize gaussian_signed_square_product h - L71
specialize gaussian_signed_square_product x1
13Use earlier factsL72–81
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L72
specialize gaussian_signed_square_product x3 - L73
apply gaussian_signed_square_product - L74
exact hfirst_witness_witness_right_left - L75
exact hsecond_witness_witness_right_left - L76
specialize gaussian_signed_square_product a - L77
specialize gaussian_signed_square_product b - L78
specialize gaussian_signed_square_product g - L79
specialize gaussian_signed_square_product h - L80
specialize gaussian_signed_square_product x - L81
specialize gaussian_signed_square_product x3
14Use earlier factsL82–91
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L82
apply gaussian_signed_square_product - L83
exact hfirst_witness_witness_left - L84
exact hsecond_witness_witness_right_left - L85
specialize gaussian_signed_square_product c - L86
specialize gaussian_signed_square_product d - L87
specialize gaussian_signed_square_product e - L88
specialize gaussian_signed_square_product f - L89
specialize gaussian_signed_square_product x1 - L90
specialize gaussian_signed_square_product x2 - L91
apply gaussian_signed_square_product
15Use earlier factsL92–97
16Construct an explicit witnessL98–99
17Separate the logical casesL100–100
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L100
split
18Use earlier factsL101–101
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L101
exact hreal_witness
19Separate the logical casesL102–102
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L102
split
20Use earlier factsL103–103
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L103
exact himaginary_witness
21Calculate and transport equalitiesL104–108
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
22Use earlier factsL109–109
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L109
exact hnorm
Original exact command ledger · 109 lines
- 0001
intro a - 0002
intro b - 0003
intro c - 0004
intro d - 0005
intro e - 0006
intro f - 0007
intro g - 0008
intro h - 0009
intro N - 0010
intro M - 0011
intro hfirst - 0012
intro hsecond - 0013
cases hfirst - 0014
cases hfirst_witness - 0015
cases hfirst_witness_witness - 0016
cases hfirst_witness_witness_right - 0017
cases hsecond - 0018
cases hsecond_witness - 0019
cases hsecond_witness_witness - 0020
cases hsecond_witness_witness_right - 0021
have hreal : exists s. (((((((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g))))))) * (((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g))))))))) + (((((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h))))))) * (((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h)))))))))) = ((s) + (((((((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g))))))) * (((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h))))))))) + (((((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h))))))) * (((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g))))))))))))) - 0022
specialize gaussian_signed_square_exists ((((((a) * (e))) + (((b) * (f))))) + (((((c) * (h))) + (((d) * (g)))))) - 0023
specialize gaussian_signed_square_exists ((((((a) * (f))) + (((b) * (e))))) + (((((c) * (g))) + (((d) * (h)))))) - 0024
apply gaussian_signed_square_exists - 0025
cases hreal - 0026
have himaginary : exists t. (((((((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f))))))) * (((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f))))))))) + (((((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e))))))) * (((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e)))))))))) = ((t) + (((((((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f))))))) * (((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e))))))))) + (((((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e))))))) * (((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f))))))))))))) - 0027
specialize gaussian_signed_square_exists ((((((a) * (g))) + (((b) * (h))))) + (((((c) * (e))) + (((d) * (f)))))) - 0028
specialize gaussian_signed_square_exists ((((((a) * (h))) + (((b) * (g))))) + (((((c) * (f))) + (((d) * (e)))))) - 0029
apply gaussian_signed_square_exists - 0030
cases himaginary - 0031
have hcross : (((((((((((a) * (e))) + (((b) * (f))))) * (((((c) * (g))) + (((d) * (h))))))) + (((((((a) * (f))) + (((b) * (e))))) * (((((c) * (h))) + (((d) * (g))))))))) = (((((((((a) * (g))) + (((b) * (h))))) * (((((c) * (e))) + (((d) * (f))))))) + (((((((a) * (h))) + (((b) * (g))))) * (((((c) * (f))) + (((d) * (e)))))))))) /\ ((((((((((a) * (e))) + (((b) * (f))))) * (((((c) * (h))) + (((d) * (g))))))) + (((((((a) * (f))) + (((b) * (e))))) * (((((c) * (g))) + (((d) * (h))))))))) = (((((((((a) * (g))) + (((b) * (h))))) * (((((c) * (f))) + (((d) * (e))))))) + (((((((a) * (h))) + (((b) * (g))))) * (((((c) * (e))) + (((d) * (f))))))))))) - 0032
specialize gaussian_signed_product_cross_interchange a - 0033
specialize gaussian_signed_product_cross_interchange b - 0034
specialize gaussian_signed_product_cross_interchange c - 0035
specialize gaussian_signed_product_cross_interchange d - 0036
specialize gaussian_signed_product_cross_interchange e - 0037
specialize gaussian_signed_product_cross_interchange f - 0038
specialize gaussian_signed_product_cross_interchange g - 0039
specialize gaussian_signed_product_cross_interchange h - 0040
apply gaussian_signed_product_cross_interchange - 0041
cases hcross - 0042
have hnorm : x4 + x5 = ((((x * x2) + (x1 * x3))) + (((x * x3) + (x1 * x2)))) - 0043
specialize gaussian_signed_square_lagrange ((((a) * (e))) + (((b) * (f)))) - 0044
specialize gaussian_signed_square_lagrange ((((a) * (f))) + (((b) * (e)))) - 0045
specialize gaussian_signed_square_lagrange ((((c) * (g))) + (((d) * (h)))) - 0046
specialize gaussian_signed_square_lagrange ((((c) * (h))) + (((d) * (g)))) - 0047
specialize gaussian_signed_square_lagrange ((((a) * (g))) + (((b) * (h)))) - 0048
specialize gaussian_signed_square_lagrange ((((a) * (h))) + (((b) * (g)))) - 0049
specialize gaussian_signed_square_lagrange ((((c) * (e))) + (((d) * (f)))) - 0050
specialize gaussian_signed_square_lagrange ((((c) * (f))) + (((d) * (e)))) - 0051
specialize gaussian_signed_square_lagrange x * x2 - 0052
specialize gaussian_signed_square_lagrange x1 * x3 - 0053
specialize gaussian_signed_square_lagrange x * x3 - 0054
specialize gaussian_signed_square_lagrange x1 * x2 - 0055
specialize gaussian_signed_square_lagrange x4 - 0056
specialize gaussian_signed_square_lagrange x5 - 0057
apply gaussian_signed_square_lagrange - 0058
specialize gaussian_signed_square_product a - 0059
specialize gaussian_signed_square_product b - 0060
specialize gaussian_signed_square_product e - 0061
specialize gaussian_signed_square_product f - 0062
specialize gaussian_signed_square_product x - 0063
specialize gaussian_signed_square_product x2 - 0064
apply gaussian_signed_square_product - 0065
exact hfirst_witness_witness_left - 0066
exact hsecond_witness_witness_left - 0067
specialize gaussian_signed_square_product c - 0068
specialize gaussian_signed_square_product d - 0069
specialize gaussian_signed_square_product g - 0070
specialize gaussian_signed_square_product h - 0071
specialize gaussian_signed_square_product x1 - 0072
specialize gaussian_signed_square_product x3 - 0073
apply gaussian_signed_square_product - 0074
exact hfirst_witness_witness_right_left - 0075
exact hsecond_witness_witness_right_left - 0076
specialize gaussian_signed_square_product a - 0077
specialize gaussian_signed_square_product b - 0078
specialize gaussian_signed_square_product g - 0079
specialize gaussian_signed_square_product h - 0080
specialize gaussian_signed_square_product x - 0081
specialize gaussian_signed_square_product x3 - 0082
apply gaussian_signed_square_product - 0083
exact hfirst_witness_witness_left - 0084
exact hsecond_witness_witness_right_left - 0085
specialize gaussian_signed_square_product c - 0086
specialize gaussian_signed_square_product d - 0087
specialize gaussian_signed_square_product e - 0088
specialize gaussian_signed_square_product f - 0089
specialize gaussian_signed_square_product x1 - 0090
specialize gaussian_signed_square_product x2 - 0091
apply gaussian_signed_square_product - 0092
exact hfirst_witness_witness_right_left - 0093
exact hsecond_witness_witness_left - 0094
exact hcross_left - 0095
exact hcross_right - 0096
exact hreal_witness - 0097
exact himaginary_witness - 0098
exists x4 - 0099
exists x5 - 0100
split - 0101
exact hreal_witness - 0102
split - 0103
exact himaginary_witness - 0104
rewrite hfirst_witness_witness_right_right - 0105
rewrite hsecond_witness_witness_right_right - 0106
trans ((((x * x2) + (x1 * x3))) + (((x * x3) + (x1 * x2)))) - 0107
simp [add_mul, mul_add, add_assoc, add_comm, four_square_add_swap_right_tail] - 0108
symm - 0109
exact hnorm