coq


what does the colon greater than sign mean in coq


For example
Record posreal : Type := mkposreal {pos :> R; cond_pos : 0 < pos}.
what does the ":>" mean?
I hope this isn't a duplicate, but a symbol is hard to search for.
In this particular case it inserts a Coercion from the posreal record to its field pos. This means you can use a posreal for an R in most cases.
Try:
Definition idR (x : R) := x.
Variable (r : posreal).
Compute (idR r).
See https://coq.inria.fr/refman/Reference-Manual021.html#Coercions-and-records

Related Links

Proof automation in Coq how to factorize a proof
How to use matched case and variable equivalence in coq
Proof with false hypothesis in Isabelle/HOL Isar
Is there a convention for the order of applying ssreflect tactic/taticals?
How to systematically normalize inequalities to < (lt) and <= (le) in Coq?
Inductive subset of an inductive set in Coq
How to find the source file for an identifier in Coq
Coq “Unknown interpretation for notation” error
How to switch the current goal in Coq?
Reasoning about lists in Coq
what does the curly braces {} do in ssreflect rewrite
How to define unspecified constants in Coq
How to automatically prove simple equality of real numbers in Coq?
How to simplify real number terms in Coq?
How can I prove that (eqb x y) means x = y
What's the difference between `Reals` and `Coq.Reals.*` in Coq?

Categories

HOME
java
google-chrome-extension
cloud
deployment
cookies
json.net
session
fme
vmware
tesseract
routes
binary-tree
fsm
mvvmcross
autotools
applepay
elasticsearch-hadoop
izpack
modelica
spring-tool-suite
dtrace
emulator
custom-wordpress-pages
swiftlint
cx-freeze
intentfilter
sylius
kudan
apache-commons-io
react-css-modules
uninstall
elasticsearch-net
jspm
ecto
jspresso
subset-sum
openoffice.org
azure-sql-database
revolution-slider
abstract-class
occlusion
splice
dism
keydown
netcdf4
convertapi
sas-jmp
menuitem
avconv
atomicity
theming
rails-routing
worksheet
ionicons
knockout-components
magma
smart-table
word-vba-mac
xcb
wdf
savon
ado.net-entity-data-model
azure-virtual-network
trash
jwplayer7
disque
simplewebrtc
pagedlist
netmq
energy
spim
qtableview
lib.web.mvc
intellij-14
comobject
jmeter-maven-plugin
pundit
splash
system32
applescript-objc
has-many-through
dml
yorick
mechanize-ruby
ruby-datamapper
bulkloader
hosts-file
ocx
windows-phone-7.1.1
boost-filesystem
celltable
actionview
gamequery
xsdobjectgen
modelstate
fixed-width
nintendo-ds
audio-capture
anti-piracy
ntvdm.exe

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App