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

fix definition of InnerProductSpace #17

Merged
merged 2 commits into from
Feb 2, 2017
Merged

fix definition of InnerProductSpace #17

merged 2 commits into from
Feb 2, 2017

Conversation

@@ -88,7 +89,9 @@ Class InnerProductSpace (K V : Type)
; in_srorder :>> SemiRingOrder Kle
; in_comm :> Commutative inprod
; in_linear_l : ∀ a u v, ⟨a·u,v⟩ = a*⟨u,v⟩
; in_nonneg :> ∀ v, PropHolds (0 ≤ ⟨v,v⟩) (* TODO Le to strong? *)
; in_pos_def1 :> ∀ v, PropHolds (0 ≤ ⟨v,v⟩) (* TODO Le to strong? *)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about preserving the original name for in_nonneg? The names in_pos_def1 and in_pos_def2 are not descriptive.

@langston-barrett
Copy link
Contributor Author

@urkud What do you think about these names?

; in_comm :> Commutative inprod
; in_linear_l : ∀ a u v, ⟨a·u,v⟩ = a*⟨u,v⟩
; in_nonneg :> ∀ v, PropHolds (0 ≤ ⟨v,v⟩) (* TODO Le to strong? *)
; in_mon_unit_zero :> ∀ v, 0 = ⟨v,v⟩ <-> v = mon_unit
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slightly offtopic: is there any good example of a module over a ring with something but "+" as the group operation? If not, why do we use a generic AbGroup instead of Add V and AbGroup (Aop := (+))?

@langston-barrett
Copy link
Contributor Author

ping @spitters

@spitters spitters merged commit b3e44c3 into coq-community:master Feb 2, 2017
@spitters
Copy link
Collaborator

spitters commented Feb 2, 2017

@siddharthist Sorry for the delay.

@langston-barrett langston-barrett deleted the innerproductspace branch February 2, 2017 21:41
@langston-barrett
Copy link
Contributor Author

@spitters Thanks for the review & merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants