cohomCalg-0.32/ 0000775 0000000 0000000 00000000000 13220507137 0013332 5 ustar 00root root 0000000 0000000 cohomCalg-0.32/.gitignore 0000664 0000000 0000000 00000000144 13220507137 0015321 0 ustar 00root root 0000000 0000000 # Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
*.ipch
.vs/
/build/ cohomCalg-0.32/LICENSE 0000664 0000000 0000000 00000104505 13220507137 0014344 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
{one line to give the program's name and a brief idea of what it does.}
Copyright (C) {year} {name of author}
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
{project} Copyright (C) {year} {fullname}
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
cohomCalg-0.32/Makefile 0000664 0000000 0000000 00000003636 13220507137 0015002 0 ustar 00root root 0000000 0000000 #########################################################################
# #
# Makefile for the cohomCalg application (including modified PolyLib) #
# #
#########################################################################
# compilers & flags
CC := g++
CFLAGS := -O3
LD := g++
# Note: (1) If you want to enforce 32-bit or 64-bit compilation,
# add "-m32" or "-m64" to both CFLAGS and LDFLAGS.
# (2) If you want to enforce a static linking of all libraries
# (i.e. include everything into one binary), add "-static" to LDFLAGS
# global defs
DEFS := -DPOLYLIB_BITS=64
# directories
COHOMCALG_SRC_DIR := source
POLYLIB_SRC_DIR := source/polylib_mod
BUILD_DIR := build/polylib_mod build
# source and object files
COHOMCALG_SRC := $(foreach sdir,$(COHOMCALG_SRC_DIR),$(wildcard $(sdir)/*.cpp))
COHOMCALG_OBJ := $(patsubst source/%.cpp,build/%.o,$(COHOMCALG_SRC))
POLYLIB_SRC := $(foreach sdir,$(POLYLIB_SRC_DIR),$(wildcard $(sdir)/*.c))
POLYLIB_OBJ := $(patsubst source/%.c,build/%.o,$(POLYLIB_SRC))
INCLUDES := $(addprefix -I,$(COHOMCALG_SRC_DIR) $(POLYLIB_SRC_DIR))
vpath %.c $(POLYLIB_SRC_DIR)
vpath %.cpp $(COHOMCALG_SRC_DIR)
# macros for .c/.cpp dirs
define make-goal-cpp
$1/%.o: %.cpp
$(CC) $(INCLUDES) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c $$< -o $$@
endef
define make-goal-c
$1/%.o: %.c
$(CC) $(INCLUDES) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c $$< -o $$@
endef
.PHONY: all checkdirs clean
all: checkdirs bin/cohomcalg
bin/cohomcalg: $(COHOMCALG_OBJ) $(POLYLIB_OBJ)
$(LD) $^ $(LDFLAGS) -lpthread -o $@
#-static -lsource/polylib-5.22.5/.libs/libpolylib64.a
checkdirs: $(BUILD_DIR)
$(BUILD_DIR):
@mkdir -p $@
clean:
@rm -rf $(BUILD_DIR)
$(eval $(call make-goal-c, build/polylib_mod))
$(eval $(call make-goal-cpp, build))
cohomCalg-0.32/Proper Citation.txt 0000664 0000000 0000000 00000007517 13220507137 0017107 0 ustar 00root root 0000000 0000000 Dear reader,
if you used cohomCalg in your work and would like to properly cite the program
in your paper, please use one of the following two BibTeX source codes:
Use \cite{cohomCalg:Implementation} at the appropiate place of your TeX file
-------------------------------
+----------------------+
"Fancy" BibTeX entry: <-| Use this if possible |
===================== +----------------------+
@Misc{cohomCalg:Implementation,
title = "{\fontfamily{put}\bfseries\footnotesize\selectfont cohomCalg} package",
howpublished = "Download link",
url = "https://github.com/BenjaminJurke/cohomCalg",
note = "High-performance line bundle cohomology computation based on \cite{CohomOfLineBundles:Algorithm}",
year = "2010"
}
@Article{CohomOfLineBundles:Algorithm,
author = "Blumenhagen, Ralph and Jurke, Benjamin and Rahn, Thorsten and Roschy, Helmut",
title = "{Cohomology of Line Bundles: A Computational Algorithm}",
publisher = "AIP",
year = "2010",
journal = "J.~Math.~Phys.",
volume = "51",
number = "10",
eid = "103525",
numpages = "15",
pages = "103525",
doi = "10.1063/1.3501132",
eprint = "1003.5217",
archivePrefix = "arXiv",
primaryClass = "hep-th",
SLACcitation = "%%CITATION = 1003.5217;%%"
}
This one uses a different font for the cohomCalg application name. Note that
the usage of the font 'put' might cause problems on some older (La)TeX
distributions. On a halfway reasonable modern machine it should give you no
trouble.
Standard BibTeX entry:
======================
@Misc{cohomCalg:Implementation,
title = "cohomCalg package",
howpublished = "Download link",
url = "https://github.com/BenjaminJurke/cohomCalg",
note = "High-performance line bundle cohomology computation based on \cite{CohomOfLineBundles:Algorithm}",
year = "2010"
}
@Article{CohomOfLineBundles:Algorithm,
author = "Blumenhagen, Ralph and Jurke, Benjamin and Rahn, Thorsten and Roschy, Helmut",
title = "{Cohomology of Line Bundles: A Computational Algorithm}",
publisher = "AIP",
year = "2010",
journal = "J.~Math.~Phys.",
volume = "51",
number = "10",
eid = "103525",
numpages = "15",
pages = "103525",
doi = "10.1063/1.3501132",
eprint = "1003.5217",
archivePrefix = "arXiv",
primaryClass = "hep-th",
SLACcitation = "%%CITATION = 1003.5217;%%"
}
Choose what best suits your needs.
Furthermore, if you want to cite the Proof paper of the algorithm or the Applications paper,
you can use the following BibTeX entries:
Additional BibTeX entries:
==========================
@Article{CohomOfLineBundles:Proof,
author = "Rahn, Thorsten and Roschy, Helmut",
title = "{Cohomology of Line Bundles: Proof of the Algorithm}",
publisher = "AIP",
year = "2010",
journal = "J.~Math.~Phys.",
volume = "51",
number = "10",
eid = "103520",
numpages = "11",
pages = "103520",
doi = "10.1063/1.3501135",
eprint = "1006.2392",
archivePrefix = "arXiv",
primaryClass = "hep-th",
SLACcitation = "%%CITATION = 1006.2392;%%"
}
@article{CohomOfLineBundles:Applications,
author = "Blumenhagen, Ralph and Jurke, Benjamin and Rahn, Thorsten and Roschy, Helmut",
title = "{Cohomology of Line Bundles: Applications}",
year = "2010",
note = "* Temporary entry *",
journal = "submitted to JHEP",
eprint = "1010.3717",
archivePrefix = "arXiv",
primaryClass = "hep-th",
SLACcitation = "%%CITATION = 1010.3717;%%"
}
Best regards,
the authors cohomCalg-0.32/README.md 0000664 0000000 0000000 00000014424 13220507137 0014616 0 ustar 00root root 0000000 0000000 # cohomCalg
[](https://github.com/BenjaminJurke/cohomCalg/releases) [](https://github.com/BenjaminJurke/cohomCalg/issues) [](https://raw.githubusercontent.com/BenjaminJurke/cohomCalg/master/LICENSE)
> 
> A software package for computation of sheaf cohomologies
> for line bundles on toric varieties.
**Authors:** [Ralph Blumenhagen](http://wwwth.mpp.mpg.de/members/blumenha/), [Benjamin Jurke](https://benjaminjurke.com), Thorsten Rahn, Helmut Roschy
# Project history
The algorithm for the computation of sheaf cohomologies for line bundles on toric varieties presented in [arXiv:1003.5217 [hep-th]](http://arxiv.org/abs/1003.5217) *"Cohomology of Line Bundles: A Computational Algorithm"* has been implemented in a convenient and high-performance C/C++ application called **cohomCalg**. The optional **cohomCalg Koszul** extension serves as a Mathematica 7 frontend and allows for the easy computation of hypersurface and complete intersection cohomologies, following the material presented in [arXiv:1010.3717 [hep-th]](http://arxiv.org/abs/1010.3717).
About three months after the initial conjecture's preprint release, a proof of the algorithm was presented in [arXiv:1006.2392 [hep-th]](http://arxiv.org/abs/1006.2392), which also clarifies much of the underlying mathematical structures. At the same time an independant proof was developed in [arXiv:1006.0780 [math.AG]](http://arxiv.org/abs/1006.0780) - published in fact a few days earlier - which utilized alternative methods.
The [full background story](https://benjaminjurke.com/academia-and-research/cohomcalg/) can be found here along with some simple examples.
The source code is freely available under the GNU GPL v3 license terms. Furthermore, the implementation makes use of The Polyhedral Library (or [PolyLib](http://icps.u-strasbg.fr/polylib/) for short), which is available here under the same license.
# Documentation
A full documentation and several example input files are included in the cohomCalg download package, see "[manual.pdf](https://github.com/BenjaminJurke/cohomCalg/blob/master/manual.pdf)". Furthermore, you can [eMail us](mailto:mail@benjaminjurke.com?subject=cohomCalg) for technical support or other related questions. For ease of use the package includes pre-compiled binaries for Microsoft Windows both in 32- and 64-bit versions, with the latter being considerably faster.
# Changelog
* **v0.32** (December 26, 2017): Replaced TinyThread++ by C++11 std::thread, Intel C++ 18.0 Windows binaries.
* **v0.31d** (January 16, 2017): Several minor updates and corrections.
* **v0.31c** (January 14, 2017): Minor update due to GCC 6.2 compatibility issues, recompiled Windows binaries.
* **v0.31b** (April 18, 2012): Minor bugfix due to GCC 4.6 compatibility issues.
* **v0.31** (May 25, 2011): Multi-core support, new vector bundle routines, overall improvements.
* **v0.21** (October 18, 2010): cohomCalg Koszul extension added!
* **v0.13** (July 23, 2010): Integration mode added, see command line option `--integrated` in manual.
* **v0.12** (June 25, 2010): Several minor bugfixes and improvements.
* **v0.11** (May 4, 2010): Original public release of the cohomCalg implementation.
* **v0.04** (March 29, 2010): Original public release of the Mathematica 7 script, which is still available [here](https://github.com/BenjaminJurke/cohomCalg/tree/master/old/cohomcalg-script-v004).
# Known bugs & Shortcomings
Certain invalid input data is at the moment not safely handled by the PolyLib. For the moment, the crash situation is circumvented in a Quick&Dirty manner. In such cases you will see a message like `Counting of the rationoms errorneous - is your input geometry valid?` in those cases, which caused the original release version to crash. So far, all such cases could be traced back to bad input data. Further implementation-related shortcomings are explained in the manual.
# License & Proper Citation
As mentioned, the entire package is published under the GNU GPL v3 License, as required by the included PolyLib. This means that any derivative work also has to be published under the GPL v3 License or an equivalent license. The package contains a small text file "Proper Citation.txt" providing a BibTeX entry for cohomCalg, which you can use if you use the program in your work.
Or you can simply **Copy&Paste the following BibTeX snippet** provided for convenience:
```tex
@Article{Blumenhagen:2010pv,
author = "Blumenhagen, Ralph and Jurke, Benjamin
and Rahn, Thorsten and Roschy, Helmut",
title = "{Cohomology of Line Bundles: A Computational Algorithm}",
journal = "J. Math. Phys.",
volume = "51",
pages = "103525",
issue = "10",
year = "2010",
doi = "10.1063/1.3501132",
eprint = "1003.5217",
archivePrefix = "arXiv",
primaryClass = "hep-th"}
@Misc{cohomCalg:Implementation,
title = "{cohomCalg package}",
howpublished = "Download link",
url = "https://github.com/BenjaminJurke/cohomCalg",
note = "High-performance line bundle cohomology computation based on \cite{Blumenhagen:2010pv}",
year = "2010"}
````
# Related Links
In order to derive the Stanley-Reisner ideal, which is a required input for the program, you may want to take a look at [TOPCOM](http://www.rambau.wm.uni-bayreuth.de/TOPCOM/), which can also enumerate all possible fans for a given set of vertices. The Maple script package [SCHUBERT](http://stromme.uib.no/schubert/) can be used to compute intersection numbers and further geometrical quantities of toric varieties. Furthermore, there is the package [PALP](http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html) which is useful for computing invariants of hypersurfaces, Mori cone vectors etc. You may also want to take a look at the [SAGE Library](http://www.sagemath.org/) of freely available mathematical software. The [Macaulay2](http://www.math.uiuc.edu/Macaulay2/) software, which allows similar computations, was heavily used during the development process. cohomCalg-0.32/bin/ 0000775 0000000 0000000 00000000000 13220507137 0014102 5 ustar 00root root 0000000 0000000 cohomCalg-0.32/bin/CP2.in 0000664 0000000 0000000 00000001611 13220507137 0015015 0 ustar 00root root 0000000 0000000 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Example input file for cohomCalg
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file contains the geometry data of the CP^2 projective space
%
% The vertices and GLSM charges:
vertex u1 = ( -1, -1 ) | PIC: H | GLSM: ( 1 );
vertex u2 = ( 1, 0 ) | GLSM: ( 1 );
vertex u3 = ( 0, 1 ) | GLSM: ( 1 );
% The Stanley-Reisner ideal:
srideal [u1*u2*u3];
% Computation time for this example is quasi-instantaneous,
% so turn off intermediate files:
monomialfile off;
% And finally the requested line bundle cohomologies:
ambientcohom O( 0 );
ambientcohom O( -1 );
ambientcohom O( -2 );
ambientcohom O( -3 );
ambientcohom O( -4 );
ambientcohom O( -6 );
ambientcohom O( -8 );
ambientcohom O(-10 );
ambientcohom O(-12 );
ambientcohom O(-14 );
ambientcohom O(-16 ); cohomCalg-0.32/bin/P31SU7.in 0000664 0000000 0000000 00000005317 13220507137 0015342 0 ustar 00root root 0000000 0000000 % Input file for the ralfsalg program...
%
% Part 1: Specify the vertex name and the GLSM charges
% =======
% In order to simplify the transition from "the toric triangulizer"
% you can also specify the actual vertex data and select coordinate
% Picard generators - this information will simply be ignored but is
% of course subject to a syntax check. This allows for easy copy&paste
% from our other app...
% NOTE THE SYNTAX CHANGE IN COMPARISON TO THE OLD INPUT FORMAT!!!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
vertex y = ( 0, 0, 0, 0, 1) | GLSM: ( 0, 3, 0, 1, 1, 0, 1, 0, 1);
vertex x = ( 0, 0, 0, 1, 0) | GLSM: ( 0, 2, 0, 1, 0, 1, 0, 1, 0);
vertex z = ( 0, 0, 0, -2, -3) | PIC: F | GLSM: (-4, 1, 2, 0, 0, 0, 0, 0, 0);
vertex v1 = ( 0, 0, 1, 0, 0) | GLSM: (1, 0, -1, 0, 0, 0, 0, 0, 0);
vertex v2 = ( 0, 1, 0, 0, 0) | GLSM: (1, 0, 0, 0, 0, 0, 0, 0, 0);
vertex v3 = ( 1, 0, 0, 0, 0) | GLSM: (1, 0, 0, 0, 0, 0, 0, 0, 0);
vertex v4 = ( -1, -1, -1, -8,-12) | PIC: H | GLSM: (1, 0, 0, 0, 0, 0, 0, 0, 0);
vertex s1 = ( 0, 0, -1, -4, -6) | GLSM: (0, 0, -1, 1, 0, 0, 0, 0, 0); % SU(5)
vertex s2 = ( 0, 0, -1, -3, -5) | GLSM: (0, 0, 0, -1, 1, 0, 0, 0, 0);
vertex s3 = ( 0, 0, -1, -3, -4) | GLSM: (0, 0, 0, 0, -1, 1, 0, 0, 0);
vertex s4 = ( 0, 0, -1, -2, -4) | GLSM: (0, 0, 0, 0, 0, -1, 1, 0, 0);
vertex s5 = ( 0, 0, -1, -2, -3) | GLSM: (0, 0, 0, 0, 0, 0, -1, 1, 0);
vertex s6 = ( 0, 0, -1, -1, -3) | GLSM: (0, 0, 0, 0, 0, 0, 0, -1, 1);
vertex s7 = ( 0, 0, -1, -1, -2) | GLSM: (0, 0, 0, 0, 0, 0, 0, 0, -1);
% Part 2: Specify the Stanley-Reisner ideal, which is to be investigated
% =======
% Simply specify the Stanley-Reisner ideal of the triangulation of
% interest. Input format is simply the output format of the great
% toric triangulizer.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
srideal [y*s2, y*s4, y*s6, x*z, x*s1, x*s2, x*s3, x*s4, x*s5, z*s3, z*s5, z*s7, v1*s1, v1*s2, v1*s3, v1*s4, v1*s5, v1*s7, s1*s4, s1*s5, s1*s6, s1*s7, s2*s5, s2*s6, s2*s7, s3*s6, s3*s7, s5*s6, v2*v3*v4];
% Part 3: Specify the ambient space line bundle
% =======
% Provide the line bundle with respect to the charges implied
% by the choice of GLSM charges assigned to the vertices.
% NOTE THE CHARACTER 'O' IN FRONT OF THE CHARGE VECTOR
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
monomialfile off;
ambientcohom O(0,0,0,0,0,0,0,0,0); cohomCalg-0.32/bin/P31SU8.in 0000664 0000000 0000000 00000001576 13220507137 0015346 0 ustar 00root root 0000000 0000000 % Input file for the ralfsalg program...
%
vertex y|GLSM:(0,3,0,1,1,0,1,0,1,0);
vertex x|GLSM:(0,2,0,1,0,1,0,1,0,1);
vertex z|GLSM:(-4,1,2,0,0,0,0,0,0,0);
vertex v1|GLSM:(1,0,-1,0,0,0,0,0,0,0);
vertex v2|GLSM:(1,0,0,0,0,0,0,0,0,0);
vertex v3|GLSM:(1,0,0,0,0,0,0,0,0,0);
vertex v4|GLSM:(1,0,0,0,0,0,0,0,0,0);
vertex s1|GLSM:(0,0,-1,1,0,0,0,0,0,0);
vertex s2|GLSM:(0,0,0,-1,1,0,0,0,0,0);
vertex s3|GLSM:(0,0,0,0,-1,1,0,0,0,0);
vertex s4|GLSM:(0,0,0,0,0,-1,1,0,0,0);
vertex s5|GLSM:(0,0,0,0,0,0,-1,1,0,0);
vertex s6|GLSM:(0,0,0,0,0,0,0,-1,1,0);
vertex s7|GLSM:(0,0,0,0,0,0,0,0,-1,1);
vertex s8|GLSM:(0,0,0,0,0,0,0,0,0,-1);
srideal [s1*y,s2*y,s4*y,s6*y,x*z,s1*x,s2*x,s3*x,s4*x,s5*x,s6*x,s7*x,s4*z,s5*z,s6*z,s7*z,s8*z,s1*v1,s3*v1,s5*v1,s7*v1,s1*s4,s1*s5,s1*s6,s1*s7,s1*s8,s2*s5,s2*s6,s2*s7,s2*s8,s3*s6,s3*s7,s3*s8,s4*s8,s5*s6,s5*s8,s8*v1*y,s2*s3*z,v2*v3*v4];
ambientcohom O(0,0,0,0,0,0,0,0,0,0); cohomCalg-0.32/bin/Quintic.in 0000664 0000000 0000000 00000001570 13220507137 0016051 0 ustar 00root root 0000000 0000000 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Example input file for cohomCalg
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file contains the geometry data of the del-Pezzo-3 surface, which
% corresponds to the triple blowup of the CP^2 projective space
%
% The vertices and GLSM charges:
vertex u1 = ( -1, -1, -1, -1 ) | PIC: H | GLSM: ( 1 );
vertex u2 = ( 1, 0, 0, 0 ) | GLSM: ( 1 );
vertex u3 = ( 0, 1, 0, 0 ) | GLSM: ( 1 );
vertex u4 = ( 0, 0, 1, 0 ) | GLSM: ( 1 );
vertex u5 = ( 0, 0, 0, 1 ) | GLSM: ( 1 );
% The Stanley-Reisner ideal:
srideal [u1*u2*u3*u4*u5];
% Computation time for this example is quasi-instantaneous,
% so turn off intermediate files:
monomialfile off;
% And finally the requested line bundle cohomologies:
ambientcohom O( -3 );
ambientcohom O( 2 ); cohomCalg-0.32/bin/WCP11114.in 0000664 0000000 0000000 00000001303 13220507137 0015450 0 ustar 00root root 0000000 0000000 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Example input file for cohomCalg
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This file contains the geometry data of the weightes projective
% space WCP^4 with coordinate weights 1,1,1,1,4.
%
% The vertices and GLSM charges:
vertex u1 | GLSM: ( 1 );
vertex u2 | GLSM: ( 1 );
vertex u3 | GLSM: ( 1 );
vertex u4 | GLSM: ( 1 );
vertex u5 | GLSM: ( 4 );
% The Stanley-Reisner ideal:
srideal [u1*u2*u3*u4*u5];
% Computation time for this example is quasi-instantaneous,
% so turn off intermediate files:
monomialfile off;
% And finally the requested line bundle cohomologies:
ambientcohom O(-8);
ambientcohom O(0); cohomCalg-0.32/bin/cohomCalg Koszul extension v0.3.nb 0000664 0000000 0000000 00003566311 13220507137 0022252 0 ustar 00root root 0000000 0000000 (* Content-type: application/mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 7.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 145, 7]
NotebookDataLength[ 977935, 21028]
NotebookOptionsPosition[ 976022, 20967]
NotebookOutlinePosition[ 976399, 20983]
CellTagsIndexPosition[ 976356, 20980]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[
RowBox[{
RowBox[{"(*",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"--", "--"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"--", "--"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"--", " \
", "--"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"--", " \
", "--"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"--", " \
", "--"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--", " ",
RowBox[{"--",
RowBox[{"--", " ",
RowBox[{"cohomCalg", " ", "++"}]}]}]}], "Koszul", " ", "extension",
" ", "v0",
RowBox[{
RowBox[{
RowBox[{".31", " ", "--"}], "--"}], " ",
"--"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"--", " \
", "--"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"--", " ",
RowBox[{"author", ":", " ",
RowBox[{"Thorsten", " ",
RowBox[{
"Rahn", " ", "--"}]}]}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--", " ", "Comments"}], ",", " ",
RowBox[{"bugs", " ", "and", " ",
RowBox[{"questions", ":", " ",
RowBox[{"thorsten", ".",
RowBox[{"rahn", "@", "gmail"}], ".",
RowBox[{"com", " ", "--"}]}]}]}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--", " ", "author"}],
" ",
RowBox[{"cohomCalg", ":", " ",
RowBox[{"Benjamin", " ",
RowBox[{
"Jurke", " ", "--"}]}]}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{
"--", " ", "mail"}],
"@", "bjurke"}], ".",
RowBox[{
"net", " ", "--"}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"--", " \
", "--"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--", " ", "related"}], " ", "to",
" ", "and", " ", "presented", " ", "in", " ",
RowBox[{"arXiv", ":",
RowBox[{
"1010.3717", " ", "--"}]}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{"--", " ", "Ralph"}], " ",
"Blumenhagen"}], ",", " ",
RowBox[{"Benjamin", " ", "Jurke"}], ",", " ",
RowBox[{"Thorsten", " ", "Rahn"}], ",", " ",
RowBox[{"Helmut", " ",
RowBox[{"Roschy", " ", "--"}]}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"--", " \
", "--"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"--", " \
", "--"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"--", " \
", "--"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"--", " \
", "--"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"--", "--"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"--", "--"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"--", "--"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*", " ",
RowBox[{"Input", " ", "required"}],
" ", "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"--", "--"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Pleas", " ", "fill", " ", "in", " ", "the", " ", "Location", " ", "of",
" ", "cohomCalg", " ", "executable"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{
"For", " ", "instance", " ", "on", " ", "a", " ", "Windows", " ",
"computer", " ", "type", " ", "something", " ",
RowBox[{"like", ":", " ", "\[IndentingNewLine]", "cohomCalgPath"}]}],
"=", "\"\\""}], ";",
"\[IndentingNewLine]",
RowBox[{
"If", " ", "your", " ", "Mathematica", " ", "notebook", " ", "is", " ",
"in", " ", "the", " ", "same", " ", "directory", " ", "as", " ", "the",
" ", "cohomCalg", " ", "executible", " ", "than", " ", "use", " ", "the",
" ", "default", " ", "input"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*", "Default", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"cohomCalgPath", "=",
RowBox[{"NotebookDirectory", "[", "]"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Pleas", " ", "fill", " ", "in", " ", "the", " ", "name", " ", "of", " ",
"the", " ", "executable", " ",
RowBox[{"e", ".", "g", ".", " ", "\"\\""}], " ", "for",
" ", "Windows", " ", "and", " ", "\"\<./cohomcalg\>\"", " ", "for", " ",
"Linux"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Default", " ", "for", " ", "Windows"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"cohomCalgExecutable", "=", "\"\\""}], ";"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"--", "--"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*", " ",
RowBox[{"End", " ", "of", " ", "Input"}],
" ", "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"--", "--"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}], "*)"}],
"\[IndentingNewLine]", "\[IndentingNewLine]", "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Setting", " ", "directory"}], "..."}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SetDirectory", "[", "cohomCalgPath", "]"}], ";"}], "\n",
RowBox[{"(*",
RowBox[{
"Generate", " ", "temp", " ", "file", " ", "for", " ", "more", " ",
"efficent", " ", "calculations"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"TempFile", "=",
RowBox[{"FileNameJoin", "[",
RowBox[{"StringJoin", "[",
RowBox[{"{", "\"\\"", "}"}], "]"}],
"]"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"stream1", "=",
RowBox[{"OpenWrite", "[", "TempFile", "]"}]}], ";"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"Close", "[", "stream1", "]"}], ";"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"This", " ", "file", " ", "contains", " ", "the", " ", "monomial", " ",
"data", " ", "and", " ", "is", " ", "deleted", " ", "once", " ", "you",
" ", "choose", " ", "a", " ", "different", " ", "ambient", " ",
"space"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"MonomFile", "=",
RowBox[{"StringJoin", "[",
RowBox[{"TempFile", ",", "\"\<.monoms\>\""}], "]"}]}], ";"}],
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{
RowBox[{"ResetGlobalVariables", ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{", "}"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Global", " ", "Variables"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCounter", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0", ",", "0"}], "}"}]}], ";",
" ",
RowBox[{"(*",
RowBox[{
"Contains", " ", "the", " ", "number", " ", "of", " ", "line", " ",
"bundles", " ", "calculated", " ", "and", " ", "needed", " ", "for",
" ", "statistics"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"LineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "\"\\"", "}"}], "}"}]}], ";",
" ",
RowBox[{"(*",
RowBox[{
"Contains", " ", "all", " ", "line", " ", "bundles", " ", "and", " ",
"their", " ", "cohomologies", " ", "that", " ", "have", " ",
"been", " ", "calculated", " ", "as", " ", "long", " ", "as", " ",
"you", " ",
RowBox[{"don", "'"}], "t", " ", "change", " ", "the", " ",
"ambient", " ", "space"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], ";",
RowBox[{"(*",
RowBox[{
"Contains", " ", "all", " ", "line", " ", "bundles", " ", "and", " ",
"their", " ", "cohomologies", " ", "for", " ", "a", " ",
"specific", " ", "subvariety", " ", "that", " ", "have", " ",
"been", " ", "calculated", " ", "as", " ", "long", " ", "as", " ",
"you", " ", "dont", " ", "change", " ", "the", " ", "ambient", " ",
"space"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Index", "=", "1"}], ";",
" ",
RowBox[{"(*",
RowBox[{
"Index", " ", "used", " ", "to", " ", "mark", " ", "the", " ",
"parameters", " ", "that", " ", "appear", " ", "in", " ", "the",
" ", "long", " ", "exact", " ", "sequences"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"SearchForTwisted", "=", "0"}], ";",
" ",
RowBox[{"(*",
RowBox[{
RowBox[{"If", " ", "on"}], ",",
RowBox[{
"it", " ", "tells", " ", "you", " ", "if", " ", "there", " ", "are",
" ", "linebundle", " ", "cohomology", " ", "contibutions", " ",
"that", " ", "are", " ", "not", " ",
RowBox[{"h", "^", "0"}], " ", "or", " ",
RowBox[{"h", "^", "n"}], " ", "and", " ", "marks", " ", "them",
" ", "in", " ", "the", " ", "final", " ", "result"}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"ShowLongExactSequences", "=", "0"}], ";", " ",
RowBox[{"(*",
RowBox[{
RowBox[{"If", " ", "on"}], ",", " ",
RowBox[{
"all", " ", "long", " ", "exact", " ", "sequences", " ", "are", " ",
"printed", " ", "explicitly"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"LESFontSize", "=", "18"}], ";", "\[IndentingNewLine]",
RowBox[{"cohomCalgLogo", "=",
GraphicsBox[
TagBox[RasterBox[CompressedData["
1:eJztXQd4FcXaXvu1YO9dr9579V67YsFCFRREAXvvoiAXBAEBKYIVkN5bSOjp
Cek5Ob333vvJOUlOem/A/85OcgiEKv3+7DPkOezOzs7OvPN+7zdt7/r0v8M/
PY9hmHH4J8M/8nvP2eOQx+7du/d0C/Q41Vk7e5ymB4XHrl272nG0kaO1tbWl
paW5pRlHE3s0IjQ2NjQ20r/0BzlwmsZAVNzR0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Z1Y2Pe/3Y99I5zq7J9e
x/8Bt81LZw==
"], {{0, 113}, {200, 0}}, {0, 255},
ColorFunction->RGBColor],
BoxForm`ImageTag["Byte", ColorSpace -> "RGB", Interleaving -> True],
Selectable->False],
BaseStyle->"ImageGraphics",
ImageSize->{182.62337147700916`, Automatic},
ImageSizeRaw->{200, 113},
PlotRange->{{0, 200}, {0, 113}}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Calculation", " ", "of", " ", "bundles", " ", "of", " ", "line",
" ", "bundles"}], " ", "*)"}], "\[IndentingNewLine]",
RowBox[{"BundleNumber", "=", "1000"}], ";"}]}], "\[IndentingNewLine]",
"]"}]}], ";"}], "\[IndentingNewLine]", " ",
RowBox[{"ResetGlobalVariables", ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"ClearLineBundles", ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{", "i", "}"}], ",",
RowBox[{
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], ";",
RowBox[{"LineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}]}]}], "]"}]}], ";"}],
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"-", " ", "Start"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
" ", "Usefull", " ", "additional", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"routines", " ", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}]}], "-"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"WPS", " ", "Generator"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"WP", "[", "Eqrel_", "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{", "Vars", "}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Vars", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{
RowBox[{"ToString", "[", "x", "]"}], ",",
RowBox[{"ToString", "[", "#", "]"}]}], "]"}], "&"}], ",",
RowBox[{"Length", "[", "Eqrel", "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"Vars", ",",
RowBox[{"{", "Vars", "}"}], ",",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{"{", "#", "}"}], "&"}], ",", "Eqrel"}], "]"}]}], "}"}],
"]"}]}]}], "\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Products", " ", "of", " ", "WPS", " ", "Generator"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"PWPS", "[",
RowBox[{"Eqrels_", ",",
RowBox[{"Projective_:", "\"\\""}]}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",", "j", ",",
RowBox[{"Vars", "=",
RowBox[{"{", "}"}]}], ",",
RowBox[{"SR", "=",
RowBox[{"{", "}"}]}], ",",
RowBox[{"Counter", "=", "1"}], ",", "EqrelsOut"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"Projective", "\[Equal]", "\"\\""}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]", " ",
RowBox[{"Length", "[", "Eqrels", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Vars", "=",
RowBox[{"Join", "[",
RowBox[{"Vars", ",",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{"ToString", "[", "i", "]"}], ",",
RowBox[{"ToString", "[", "#", "]"}]}], "]"}], "&"}], ",",
RowBox[{"Eqrels", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{"SR", ",",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{"ToString", "[", "i", "]"}], ",",
RowBox[{"ToString", "[", "#", "]"}]}], "]"}], "&"}], ",",
RowBox[{"Eqrels", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"EqrelsOut", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Length", "[", "Vars", "]"}], ",",
RowBox[{"Length", "[", "Eqrels", "]"}]}], "}"}]}], "]"}]}],
";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "Eqrels", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "1"}], ",",
RowBox[{"j", "\[LessEqual]",
RowBox[{"Eqrels", "[",
RowBox[{"[", "i", "]"}], "]"}]}], ",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"EqrelsOut", "[",
RowBox[{"[",
RowBox[{"Counter", ",",
RowBox[{
RowBox[{"Length", "[", "Eqrels", "]"}], "+", "1", "-",
"i"}]}], "]"}], "]"}], "=", "1"}], ";",
"\[IndentingNewLine]",
RowBox[{"Counter", "++"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"Vars", ",", "SR", ",", "EqrelsOut"}], "}"}], "]"}],
";"}]}], "\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Hyper", " ", "surface", " ", "generator"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"CYHyperSurface", "[", "Variety_", "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Hypersurface", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"Length", "[",
RowBox[{"Variety", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], "]"}]}]}],
"}"}], ",",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"Variety", "[",
RowBox[{"[", "3", "]"}], "]"}], "]"}]}], ",",
RowBox[{"i", "++"}], ",",
RowBox[{"Hypersurface", "=",
RowBox[{"Hypersurface", "+",
RowBox[{"Variety", "[",
RowBox[{"[",
RowBox[{"3", ",", "i"}], "]"}], "]"}]}]}]}], "]"}], ";",
RowBox[{"Return", "[", "Hypersurface", "]"}]}]}], "]"}]}], ";"}],
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Convers", " ", "the", " ", "Triangulizer", " ", "integrated", " ",
"output", " ", "to", " ", "cohomCalg", " ", "input"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"TriangulizerTocohomCalg", "[", "TriangulizerData_", "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",", "j", ",",
RowBox[{"cohomCalgInput", "=",
RowBox[{"{", "}"}]}]}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{
RowBox[{"Length", "[", "TriangulizerData", "]"}], "-", "4"}]}],
",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{"cohomCalgInput", ",",
RowBox[{"{",
RowBox[{
RowBox[{"TriangulizerData", "[",
RowBox[{"[", "2", "]"}], "]"}], ",",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{"Variables", "[", "#", "]"}], "&"}], ",",
RowBox[{"TriangulizerData", "[",
RowBox[{"[",
RowBox[{
RowBox[{"4", "+", "i"}], ",", "2"}], "]"}], "]"}]}], "]"}],
",",
RowBox[{"TriangulizerData", "[",
RowBox[{"[",
RowBox[{"4", ",",
RowBox[{"2", ";;",
RowBox[{"Length", "[",
RowBox[{"TriangulizerData", "[",
RowBox[{"[", "4", "]"}], "]"}], "]"}]}]}], "]"}], "]"}]}],
"}"}]}], "]"}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Return", "[", "cohomCalgInput", "]"}]}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"-", " ", "End"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
" ", "Usefull", " ", "additional", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"routines", " ", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}]}], "-"}], "*)"}], "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Simple", " ", "check", " ", "whether", " ", "the", " ", "input", " ",
"data", " ", "is", " ", "typed", " ", "in", " ", "correctly", " ", "in",
" ", "the", " ", "right", " ", "form"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"CheckInputData", "[",
RowBox[{"AmbientSpace_", ",", "ComplInters_", ",", "Type_"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "NumberOfCharges", ",", "CalculationStop"}],
"}"}], ",", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"True", ",", "\"\<\>\""}], "}"}], "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{
"CalculationStop", "=", "\"\<---> Calculation canceled <---\>\""}],
";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"cohomCalg", " ", "executable", " ", "in", " ", "the", " ",
"correct", " ",
RowBox[{"directory", "?"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"FileExistsQ", "[", "cohomCalgExecutable", "]"}]}], ",",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"\"\\"", ",",
RowBox[{"StringJoin", "[",
RowBox[{"cohomCalgPath", ",", "cohomCalgExecutable"}], "]"}],
",", "\"\<\\\" not found. Check cohomCalgPath and \
cohomCalgExecutable variables.\>\""}], "]"}], ";",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"False", ",", "CalculationStop"}], "}"}], "]"}]}]}],
"]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Correct", " ", "number", " ", "of", " ", "entries", " ", "in", " ",
RowBox[{"Ambientspace", "?"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Length", "[", "AmbientSpace", "]"}], "\[NotEqual]", "3"}],
",",
RowBox[{
RowBox[{
"Print", "[",
"\"\\"", "]"}], ";",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"False", ",", "CalculationStop"}], "}"}], "]"}]}]}],
"]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Correct", " ", "number", " ", "of", " ",
RowBox[{"coordinates", " ", "/", " ", "GLSM"}], " ",
RowBox[{"relations", "?"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "\[NotEqual]",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "3", "]"}], "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{
"Print", "[",
"\"\\"", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"False", ",", "CalculationStop"}], "}"}], "]"}]}]}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"NumberOfCharges", "=",
RowBox[{"Length", " ", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "2"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "3", "]"}], "]"}], "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "i"}], "]"}], "]"}], "]"}], "\[NotEqual]",
"NumberOfCharges"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{
"Print", "[",
"\"\\"", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"False", ",", "CalculationStop"}], "}"}], "]"}]}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{
RowBox[{"ListOrLineBundleCohomologyOf", "[",
RowBox[{"AmbientSpace", ",",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], "]"}]}],
"]"}], "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"False", ",", "CalculationStop"}], "}"}], "]"}]}],
"]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Correct", " ", "\"\\"", " ",
RowBox[{"specification", "?"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Type", "\[NotEqual]", "\"\\""}], " ", "&&",
" ",
RowBox[{"Type", "\[NotEqual]", " ", "\"\\""}], " ", "&&",
" ",
RowBox[{"Type", "\[NotEqual]", " ", "\"\\""}],
" ", "&&", " ",
RowBox[{"Type", "\[NotEqual]", " ", "\"\\""}], " ", "&&",
" ",
RowBox[{"Type", "\[NotEqual]", "\"\\""}], " ", "&&", " ",
RowBox[{"Type", "\[NotEqual]", "\"\\""}], "&&",
RowBox[{"Type", "\[NotEqual]", "\"\\""}]}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",", "Type",
",", "\"\<\\\" is not one of the valid types \\\"Calabi-Yau\\\", \
\\\"Kahler\\\", \\\"Complex\\\", \\\"Stable\\\" or \\\"Unknown\\\".\\n \
Calculation continued with type \\\"Unknown\\\"...\>\""}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Correct", " ", "structure", " ", "of", " ", "the", " ", "list", " ",
"of", " ", "divisors", " ", "specifying", " ", "the", " ",
"complete", " ",
RowBox[{"intersection", "?"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"It", " ", "is", " ", "either", " ", "empty", " ", "or", " ", "of",
" ", "depth", " ", "3"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"ComplInters", "\[NotEqual]",
RowBox[{"{", "}"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Depth", "[", "ComplInters", "]"}], "\[NotEqual]", " ",
"3"}], ",",
RowBox[{
RowBox[{
"Print", "[",
"\"\\"", "]"}], ";",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"False", ",", "CalculationStop"}], "}"}], "]"}]}]}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Number", " ", "of", " ", "charges", " ", "of", " ", "all", " ",
"divisors", " ", "of", " ", "the", " ", "complete", " ",
"intersection", " ",
RowBox[{"correct", "?"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "ComplInters", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Length", "[",
RowBox[{"ComplInters", "[",
RowBox[{"[", "i", "]"}], "]"}], "]"}], "\[NotEqual]",
"NumberOfCharges"}], ",",
RowBox[{
RowBox[{
"Print", "[",
"\"\\"", "]"}], ";",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"False", ",", "CalculationStop"}], "}"}],
"]"}]}]}], "\[IndentingNewLine]", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"True", ",", "\"\<\>\""}], "}"}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Generates", " ", "the", " ", "matrix", " ", "reflected", " ", "at", " ",
"the", " ", "counter", " ", "diagonal"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"CounterTranspose", "[", "Matrix_", "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",", "j", ",", "n", ",", "tempmatrix"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"tempmatrix", "=", " ",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Length", " ", "[",
RowBox[{"Matrix", "[",
RowBox[{"[",
RowBox[{"1", ",", "All"}], "]"}], "]"}], "]"}], ",",
RowBox[{"Length", " ", "[",
RowBox[{"Matrix", "[",
RowBox[{"[",
RowBox[{"All", ",", "1"}], "]"}], "]"}], "]"}]}], "}"}]}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"n", "=",
RowBox[{"Length", "[",
RowBox[{"Matrix", "[",
RowBox[{"[",
RowBox[{"1", ",", "All"}], "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"Matrix", "[",
RowBox[{"[",
RowBox[{"1", ",", "All"}], "]"}], "]"}], "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "1"}], ",",
RowBox[{"j", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"Matrix", "[",
RowBox[{"[",
RowBox[{"1", ",", "All"}], "]"}], "]"}], "]"}]}], ",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"tempmatrix", "[",
RowBox[{"[",
RowBox[{"i", ",", "j"}], "]"}], "]"}], "=",
RowBox[{"Matrix", "[",
RowBox[{"[",
RowBox[{
RowBox[{"n", "+", "1", "-", "j"}], ",",
RowBox[{"n", "+", "1", "-", "i"}]}], "]"}], "]"}]}]}],
"\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Return", "[", "tempmatrix", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Three", " ", "small", " ", "routines", " ", "that", " ", "convert", " ",
"the", " ", "Mathematica", " ", "input", " ", "to", " ", "the", " ",
"proper", " ", "input", " ", "format", " ", "of", " ", "the", " ",
RowBox[{"C", "++"}], " ", "implementation", " ", "of", " ",
"cohomCalg"}], " ", "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Converts", " ", "the", " ", "variety", " ", "specifications", " ", "to",
" ", "the", " ", "proper", " ", "string", " ", "needed", " ", "by", " ",
"cohomCalg"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"ConvertMathematicaToCppInput", "[", "Variety_", "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",", "j", ",", "StringVariety"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"StringVariety", "=", "\"\<\>\""}], ";",
"\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"Variety", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"StringVariety", "=",
RowBox[{"StringJoin", "[",
RowBox[{"StringVariety", ",", "\"\\"", ",",
RowBox[{"ToString", "[",
RowBox[{"Variety", "[",
RowBox[{"[",
RowBox[{"1", ",", "i"}], "]"}], "]"}], "]"}], ",",
"\"\<|GLSM:(\>\"", ",",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"Variety", "[",
RowBox[{"[",
RowBox[{"3", ",", "i"}], "]"}], "]"}], "]"}], ",",
"\"\<);\>\""}], "]"}]}], ";"}]}], "\[IndentingNewLine]", "]"}],
";", "\[IndentingNewLine]",
RowBox[{"StringVariety", "=",
RowBox[{"StringJoin", "[",
RowBox[{"StringVariety", ",", "\"\< srideal [\>\"", ",",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"ReconvertSR", "[",
RowBox[{"Variety", "[",
RowBox[{"[", "2", "]"}], "]"}], "]"}], "]"}], ",",
"\"\<];\>\""}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[", "StringVariety", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Converts", " ", "a", " ", "list", " ", "to", " ", "as", " ", "string",
" ", "without", " ", "the", " ", "brackets"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"ListToStringWithoutBracket", "[", "list_", "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",", "StringList"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"StringList", "=",
RowBox[{"ToString", "[",
RowBox[{"list", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "2"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "list", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"StringList", "=",
RowBox[{"StringJoin", "[",
RowBox[{"StringList", ",", "\"\<,\>\"", ",",
RowBox[{"ToString", "[",
RowBox[{"list", "[",
RowBox[{"[", "i", "]"}], "]"}], "]"}]}], "]"}]}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[", "StringList", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Converts", " ", "the", " ", "SR", " ", "ideal", " ", "into", " ", "the",
" ", "correct", " ", "cohomCalg", " ", "input", " ", "string"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"ReconvertSR", "[", "SR_", "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",", "j", ",", "StringSR", ",", "ListStringSR"}], "}"}],
",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"ListStringSR", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "SR", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"AppendTo", "[",
RowBox[{"ListStringSR", ",",
RowBox[{"ToString", "[",
RowBox[{"SR", "[",
RowBox[{"[",
RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "2"}], ",",
RowBox[{"j", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"SR", "[",
RowBox[{"[", "i", "]"}], "]"}], "]"}]}], ",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"ListStringSR", "[",
RowBox[{"[", "i", "]"}], "]"}], "=",
RowBox[{"StringJoin", "[",
RowBox[{
RowBox[{"ListStringSR", "[",
RowBox[{"[", "i", "]"}], "]"}], ",", "\"\<*\>\""}], "]"}]}],
";", "\[IndentingNewLine]",
RowBox[{
RowBox[{"ListStringSR", "[",
RowBox[{"[", "i", "]"}], "]"}], "=",
RowBox[{"StringJoin", "[",
RowBox[{
RowBox[{"ListStringSR", "[",
RowBox[{"[", "i", "]"}], "]"}], ",",
RowBox[{"ToString", "[",
RowBox[{"SR", "[",
RowBox[{"[",
RowBox[{"i", ",", "j"}], "]"}], "]"}], "]"}]}], "]"}]}],
";"}]}], "\[IndentingNewLine]", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[", "ListStringSR", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"CalculateListOfLineBundles", "[",
RowBox[{
"AmbientSpace_", ",", "LineBundleCollector_", ",",
"NumberOfLineBundles_"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "Output", ",", "LineBundleCohom", ",",
"LineBundles", ",", "PositionAmbientInList"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"LineBundleList", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "\[NotEqual]", " ",
"AmbientSpace"}], ",",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FileExistsQ", "[", "MonomFile", "]"}], ",",
RowBox[{"DeleteFile", "[", "MonomFile", "]"}]}], "]"}]}], "]"}],
";", " ", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"LineBundleList", "[",
RowBox[{"[", "1", "]"}], "]"}], "\[NotEqual]", " ",
"AmbientSpace"}], ",",
RowBox[{
RowBox[{"LineBundleList", "=",
RowBox[{"{", "AmbientSpace", "}"}]}], ";",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FileExistsQ", "[", "MonomFile", "]"}], ",",
RowBox[{"DeleteFile", "[", "MonomFile", "]"}]}], "]"}]}]}],
"]"}], ";"}], " ", "\[IndentingNewLine]", "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"PositionAmbientInList", "=",
RowBox[{"Position", "[",
RowBox[{"LineBundleList", ",", "AmbientSpace", ",",
RowBox[{"{", "2", "}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"LineBundleList", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "\[NotEqual]",
"AmbientSpace"}], ",",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FileExistsQ", "[", "MonomFile", "]"}], ",",
RowBox[{"DeleteFile", "[", "MonomFile", "]"}]}], "]"}]}], "]"}],
";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"PositionAmbientInList", "\[Equal]",
RowBox[{"{", "}"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"PrependTo", "[",
RowBox[{"LineBundleList", ",",
RowBox[{"{", "AmbientSpace", "}"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FileExistsQ", "[", "MonomFile", "]"}], ",",
RowBox[{"DeleteFile", "[", "MonomFile", "]"}]}], "]"}]}]}],
"\[IndentingNewLine]", "]"}], ";", " ", "\[IndentingNewLine]",
RowBox[{"PositionAmbientInList", "=",
RowBox[{
RowBox[{"Position", "[",
RowBox[{"LineBundleList", ",", "AmbientSpace", ",",
RowBox[{"{", "2", "}"}]}], "]"}], "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "LineBundleCollector", "]"}]}], ",",
RowBox[{"i", "=",
RowBox[{"i", "+", "NumberOfLineBundles"}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "i", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"i", "+", "NumberOfLineBundles"}], ">",
RowBox[{"Length", "[", "LineBundleCollector", "]"}]}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"Output", "=",
RowBox[{"ReadList", "[",
RowBox[{"GenerateRequestCommand", "[",
RowBox[{"AmbientSpace", ",",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[",
RowBox[{"i", ";;",
RowBox[{"Length", "[", "LineBundleCollector", "]"}]}],
"]"}], "]"}]}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"LineBundles", "=",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[",
RowBox[{"i", ";;",
RowBox[{"Length", "[", "LineBundleCollector", "]"}]}],
"]"}], "]"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "1", "]"}], "]"}], "=",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "1", "]"}], "]"}], "+",
RowBox[{"Mod", "[",
RowBox[{
RowBox[{"Length", "[", "LineBundleCollector", "]"}], ",",
"NumberOfLineBundles"}], "]"}]}]}], ";"}], "*)"}],
"\[IndentingNewLine]", ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Output", "=",
RowBox[{"ReadList", "[",
RowBox[{"GenerateRequestCommand", "[",
RowBox[{"AmbientSpace", ",",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[",
RowBox[{"i", ";;",
RowBox[{"i", "+", "NumberOfLineBundles", "-", "1"}]}],
"]"}], "]"}]}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"LineBundles", "=",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[",
RowBox[{"i", ";;",
RowBox[{"i", "+", "NumberOfLineBundles", "-", "1"}]}],
"]"}], "]"}]}], ";"}]}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "1", "]"}], "]"}], "=",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "1", "]"}], "]"}], "+",
"NumberOfLineBundles"}]}], ";"}], "*)"}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"GenerateRequestCommand", "[",
RowBox[{"AmbientSpace", ",",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[",
RowBox[{"i", ";;",
RowBox[{"i", "+", "NumberOfLineBundles", "-", "1"}]}],
"]"}], "]"}]}], "]"}], "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "Output", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "2"}], ",",
RowBox[{"j", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"Output", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], ",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"{",
RowBox[{
RowBox[{"LineBundles", "[",
RowBox[{"[",
RowBox[{"j", "-", "1"}], "]"}], "]"}], ",",
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "j", ",", "1"}], "]"}], "]"}]}], "}"}],
"]"}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"AppendTo", "[",
RowBox[{
RowBox[{"LineBundleList", "[",
RowBox[{"[", "PositionAmbientInList", "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"LineBundles", "[",
RowBox[{"[",
RowBox[{"j", "-", "1"}], "]"}], "]"}], ",",
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "j", ",", "1"}], "]"}], "]"}]}],
"}"}]}], "]"}], ";"}]}], "\[IndentingNewLine]", "]"}],
";"}], "\[IndentingNewLine]", ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"\"\\"", " ", ",",
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "2", ",", "1"}], "]"}], "]"}]}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"LineBundleCohom", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"False", "&"}], ",",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}], "+",
"1"}]}], "]"}]}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"out", "=",
RowBox[{"StringJoin", "[",
RowBox[{"\"\<---> \>\"", ",",
RowBox[{"ToString", "[",
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], ",",
"\"\< different linebundle cohomologies calculated via \
--cohomCalc-- <---\>\""}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"NotebookDelete", "[", "temp", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"temp", "=",
RowBox[{"PrintTemporary", "[", "out", "]"}]}]}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Routine", " ", "that", " ", "puts", " ", "calculated", " ", "line", " ",
"bundles", " ", "in", " ", "a", " ", "list", " ", "for", " ", "later",
" ", "use", " ", "of", " ", "the", " ", "same", " ", "ambient", " ",
"variety"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"ListOrLineBundleCohomologyOf", "[",
RowBox[{"AmbientSpace_", ",", "LineBundle_"}],
RowBox[{"(*",
RowBox[{",",
RowBox[{"EquivariantCalculation_:", "False"}]}], "*)"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "PositionLinebundleInList", ",",
"LineBundleCohom", ",", "SearchSucceeded", ",", "TwistedPositions",
",", "NumberArray", ",", "Output", ",", "SplitedResult", ",",
"DenominatorElement", ",", "CohomologyPosition", ",",
"CohomologyFactor", ",", "SplitContriubution", ",",
"PositionAmbientInList"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"(*", "LineBundleList", "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Check", " ", "if", " ", "calculations", " ", "have", " ", "been",
" ", "performed", " ", "before"}], "*)"}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"PositionAmbientInList", "=",
RowBox[{"Position", "[",
RowBox[{"LineBundleList", ",", "AmbientSpace", ",",
RowBox[{"{", "2", "}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"LineBundleList", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "\[NotEqual]",
"AmbientSpace"}], ",",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FileExistsQ", "[", "MonomFile", "]"}], ",",
RowBox[{"DeleteFile", "[", "MonomFile", "]"}]}], "]"}]}], "]"}],
";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"PositionAmbientInList", "\[Equal]",
RowBox[{"{", "}"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"PrependTo", "[",
RowBox[{"LineBundleList", ",",
RowBox[{"{", "AmbientSpace", "}"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FileExistsQ", "[", "MonomFile", "]"}], ",",
RowBox[{"DeleteFile", "[", "MonomFile", "]"}]}], "]"}]}]}],
"\[IndentingNewLine]", "]"}], ";", " ", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"PositionAmbientInList", "=",
RowBox[{
RowBox[{"Position", "[",
RowBox[{"LineBundleList", ",", "AmbientSpace", ",",
RowBox[{"{", "2", "}"}]}], "]"}], "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"PositionLinebundleInList", "=",
RowBox[{"Position", "[",
RowBox[{
RowBox[{"LineBundleList", "[",
RowBox[{"[", "PositionAmbientInList", "]"}], "]"}], ",",
"LineBundle", ",",
RowBox[{"{", "2", "}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"PositionLinebundleInList", "\[NotEqual]",
RowBox[{"{", "}"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}], "++"}], ";",
"\[IndentingNewLine]",
RowBox[{"LineBundleCohom", "=",
RowBox[{
RowBox[{"LineBundleList", "[",
RowBox[{"[", "PositionAmbientInList", "]"}], "]"}], "[",
RowBox[{"[",
RowBox[{
RowBox[{"PositionLinebundleInList", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], ",", "2"}], "]"}],
"]"}]}], ";"}], "\[IndentingNewLine]", ",",
"\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "1", "]"}], "]"}], "++"}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}], "++"}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"GenerateRequestCommand", "[",
RowBox[{"AmbientSpace", ",", "LineBundle"}], "]"}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "3", "]"}], "]"}], "++"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Output", "=",
RowBox[{"ReadList", "[",
RowBox[{"GenerateRequestCommand", "[",
RowBox[{"AmbientSpace", ",",
RowBox[{"{", "LineBundle", "}"}]}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "Output", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"Position", "[",
RowBox[{
RowBox[{"ToExpression", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], ",", "#"}], "]"}],
"[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "&"}], ",",
"DenominatorElement"}], "]"}], "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], ",",
RowBox[{"LineBundleCohom", "=",
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "2", ",", "1"}], "]"}], "]"}]}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"\"\\"", " ", ",",
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "2", ",", "1"}], "]"}], "]"}]}], "]"}],
";", "\[IndentingNewLine]",
RowBox[{"LineBundleCohom", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"False", "&"}], ",",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}], "+",
"1"}]}], "]"}]}]}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"EquivariantCalculation", ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"SplitedResult", "=",
RowBox[{"{",
RowBox[{
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"Length", "[", "LineBundleCohom", "]"}]}], "]"}],
",",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"Length", "[", "LineBundleCohom", "]"}]}],
"]"}]}], "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "2", ",", "2"}], "]"}], "]"}], "]"}]}],
",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"DenominatorElement", "=",
RowBox[{"Variables", "[",
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "2", ",", "2", ",", "i", ",", "2"}],
"]"}], "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "DenominatorElement", "]"}], ";"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"CohomologyPosition", "=",
RowBox[{
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "2", ",", "2", ",", "i", ",", "1"}],
"]"}], "]"}], "+", "1"}]}], ";", "\[IndentingNewLine]",
RowBox[{"CohomologyFactor", "=",
RowBox[{
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "2", ",", "2", ",", "i", ",", "2"}],
"]"}], "]"}], "/",
RowBox[{"Product", "[",
RowBox[{
RowBox[{"DenominatorElement", "[",
RowBox[{"[", "j", "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"j", ",", "1", ",",
RowBox[{"Length", "[", "DenominatorElement", "]"}]}],
"}"}]}], "]"}]}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"DenominatorElement", "=",
RowBox[{"Variables", "[",
RowBox[{"Output", "[",
RowBox[{"[",
RowBox[{"1", ",", "2", ",", "2"}], "]"}], "]"}], "]"}]}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"SplitContriubution", "=",
RowBox[{"InvariantAndNonivariantParts", "[",
RowBox[{
"LineBundle", ",", "DenominatorElement", ",",
"AmbientSpace", ",", "ZnAction"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SplitedResult", "[",
RowBox[{"[",
RowBox[{"1", ",", "CohomologyPosition"}], "]"}], "]"}],
"=",
RowBox[{
RowBox[{"SplitedResult", "[",
RowBox[{"[",
RowBox[{"1", ",", "CohomologyPosition"}], "]"}], "]"}],
"+",
RowBox[{"SplitContriubution", "[",
RowBox[{"[", "1", "]"}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SplitedResult", "[",
RowBox[{"[",
RowBox[{"2", ",", "CohomologyPosition"}], "]"}], "]"}],
"=",
RowBox[{
RowBox[{"SplitedResult", "[",
RowBox[{"[",
RowBox[{"2", ",", "CohomologyPosition"}], "]"}], "]"}],
"+",
RowBox[{"SplitContriubution", "[",
RowBox[{"[", "2", "]"}], "]"}]}]}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "SplitedResult", "]"}], ";"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"LineBundleCohom", ",", "SplitedResult"}], "}"}],
"]"}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"SplitedResult", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{
RowBox[{"LineBundleList", "[",
RowBox[{"[", "PositionAmbientInList", "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"LineBundle", ",", "LineBundleCohom"}], "}"}]}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"out", "=",
RowBox[{"StringJoin", "[",
RowBox[{"\"\<---> \>\"", ",",
RowBox[{"ToString", "[",
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], ",",
"\"\< different linebundle cohomologies calculated via \
--cohomCalc-- <---\>\""}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"NotebookDelete", "[", "temp", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"temp", "=",
RowBox[{"PrintTemporary", "[", "out", "]"}]}]}],
"\[IndentingNewLine]", ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"else", " ", "if", " ", "collecotor", " ", "is", " ", "turned",
" ",
RowBox[{"on", ":"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"AppendTo", "[",
RowBox[{"LineBundleCollector", ",", "LineBundle"}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}], "+",
"1"}]}], "]"}], "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";"}]}], "\[IndentingNewLine]", "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Keep", " ", "in", " ", "mind", " ", "from", " ", "which", " ",
"part", " ", "of", " ", "the", " ", "cohomology", " ", "of", " ",
"the", " ", "line", " ", "bundle", " ", "on", " ", "the", " ",
"ambient", " ", "space", " ", "the", " ", "contribution", " ",
"comes", " ", "by", " ", "multiplying", " ", "with", " ", "the",
" ", "corresponding", " ", "power", " ", "of", " ", "Pi"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"SearchForTwisted", "\[Equal]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "LineBundleCohom", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"LineBundleCohom", "[",
RowBox[{"[", "i", "]"}], "]"}], "=",
RowBox[{
RowBox[{"LineBundleCohom", "[",
RowBox[{"[", "i", "]"}], "]"}], "*",
RowBox[{"Power", "[",
RowBox[{"Pi", ",",
RowBox[{"i", "-", "1"}]}], "]"}]}]}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[", "LineBundleCohom", "]"}]}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Subroutine", ":", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"Generates", " ", "the", " ", "expression", " ", "u1"}],
"\[GreaterEqual]", "0"}], " ", "&&", " ",
RowBox[{"u2", "\[GreaterEqual]", "0"}], " ", "&&", " ",
RowBox[{"u3", "\[GreaterEqual]", "0"}], " ", "&&"}], " ", "..."}],
" ", "from", " ", "a", " ", "given", " ", "set", " ", "of", " ",
"coordinates", " ",
RowBox[{"{",
RowBox[{"u1", ",", "u2", ",", "u3", ",", "..."}], "}"}]}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"ListElementsLargerEqZero", "[", "list_", "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",", "temp"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"list", "\[NotEqual]", " ",
RowBox[{"{", "}"}]}], ",",
RowBox[{"temp", "=",
RowBox[{
RowBox[{"list", "[",
RowBox[{"[", "1", "]"}], "]"}], "\[GreaterEqual]", " ", "0"}]}],
",",
RowBox[{"Return", "[",
RowBox[{"{", "}"}], "]"}]}], "]"}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "2"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "list", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{"temp", "=",
RowBox[{"temp", " ", "&&", " ",
RowBox[{
RowBox[{"list", "[",
RowBox[{"[", "i", "]"}], "]"}], "\[GreaterEqual]", " ",
"0"}]}]}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Return", "[", "temp", "]"}]}]}], "\[IndentingNewLine]",
"]"}]}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Main", " ", "counting", " ",
RowBox[{"routing", ":", " ",
RowBox[{
"It", " ", "generates", " ", "the", " ", "matrix", " ", "m"}]}]}], ",",
" ",
RowBox[{
RowBox[{
"the", " ", "constant", " ", "vector", " ", "b", " ", "and", " ",
"solves", " ", "the", " ", "linear", " ", "equations", " ",
RowBox[{"m", ".", "x"}]}], "=",
RowBox[{
"b", " ", "for", " ", "non", " ", "negative", " ", "integers"}]}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"InvariantAndNonivariantParts", "[",
RowBox[{
"LineBundle_", ",", "DenominatorElement_", ",", "AmbientSpace_", ",",
"ZnAction_"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "b", ",", "m", ",", "ConvertedElement", ",",
"equrel", ",", "coordinates", ",", "ResultMonomials", ",",
"SignVector", ",", "Monomials", ",", "ActionOnMonomials", ",",
"DenominatorMonomial", ",", "ActionDenominatorMonomial", ",",
"ModifiedMonomials", ",", "ModifiedActionOnMonomials", ",",
"Invariant", ",", "NonInvariant"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{
"convert", " ", "a", " ", "set", " ", "of", " ", "coordinates", " ",
"into", " ", "their", " ", "positions", " ", "in", " ", "the",
" ", "coordinate"}], "-", "list"}], ",", " ",
RowBox[{
RowBox[{"e", ".", "g", ".", " ",
RowBox[{"{",
RowBox[{"u1", ",", "u2"}], "}"}]}], " ", "\[Rule]", " ",
RowBox[{"{",
RowBox[{"1", ",", "2"}], "}"}]}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"ConvertedElement", "=",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"Position", "[",
RowBox[{
RowBox[{"ToExpression", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], ",", "#"}], "]"}],
"[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "&"}], ",",
"DenominatorElement"}], "]"}]}], ";",
RowBox[{"(*",
RowBox[{
RowBox[{
"ConvertDenominatiorElement", "[", "DenominatorElement", "]"}],
";"}], "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"coordinates", "=",
RowBox[{"ToExpression", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"equrel", "=",
RowBox[{"Transpose", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "3", "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"m", "=", "equrel"}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "equrel", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "1"}], ",",
RowBox[{"j", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"equrel", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], ",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"MemberQ", "[",
RowBox[{"ConvertedElement", ",", "j"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"m", "[",
RowBox[{"[", "i", "]"}], "]"}], "[",
RowBox[{"[", "j", "]"}], "]"}], "=",
RowBox[{"-",
RowBox[{
RowBox[{"equrel", "[",
RowBox[{"[", "i", "]"}], "]"}], "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], " ", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"m", "[",
RowBox[{"[", "i", "]"}], "]"}], "[",
RowBox[{"[", "j", "]"}], "]"}], "=",
RowBox[{
RowBox[{"equrel", "[",
RowBox[{"[", "i", "]"}], "]"}], "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], "\[IndentingNewLine]",
"]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"b", "=",
RowBox[{
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"-",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{
RowBox[{"m", "[",
RowBox[{"[", "#", "]"}], "]"}], "[",
RowBox[{"[", "j", "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"j", ",", "ConvertedElement"}], "}"}]}], "]"}]}],
"&"}], ",",
RowBox[{"Length", "[", "LineBundle", "]"}]}], "]"}], "+",
"LineBundle"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"MatrixForm", "[",
RowBox[{
RowBox[{"m", ".", "coordinates"}], "==", "b"}], "]"}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"ResultMonomials", "=",
RowBox[{"Reduce", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"m", ".", "coordinates"}], "==", "b"}], "&&",
RowBox[{"ListElementsLargerEqZero", "[", "coordinates", "]"}]}],
",", "coordinates", ",", "Integers"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"ResultMonomials", "=",
RowBox[{"BooleanConvert", "[",
RowBox[{"ResultMonomials", "||",
RowBox[{"{", "\"\\"", "}"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Checker", "=", "ResultMonomials"}], ";"}], "*)"}],
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"ResultMonomials", "=",
RowBox[{"Sort", "[",
RowBox[{"ResultMonomials", ",", "1"}], "]"}]}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"ResultMonomials", "=",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{"Sort", "[", "#", "]"}], "&"}], ",", "ResultMonomials"}],
"]"}]}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
"DenominatorElement", ",", "\"\<,\>\"", ",", "ConvertedElement"}],
"]"}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"SignVector", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"1", "&"}], ",",
RowBox[{"Length", "[", "coordinates", "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"SignVector", "[",
RowBox[{"[", "ConvertedElement", "]"}], "]"}], "=",
RowBox[{"-", "1"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "SignVector", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Length", "[", "ResultMonomials", "]"}], "\[Equal]", "2"}],
",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Monomials", "=",
RowBox[{"{",
RowBox[{"Product", "[",
RowBox[{
RowBox[{
RowBox[{"ResultMonomials", "[",
RowBox[{"[",
RowBox[{"1", ",", "a", ",", "1"}], "]"}], "]"}], "^",
RowBox[{"(",
RowBox[{
RowBox[{"ResultMonomials", "[",
RowBox[{"[",
RowBox[{"1", ",", "a", ",", "2"}], "]"}], "]"}], "*",
RowBox[{"SignVector", "[",
RowBox[{"[", "a", "]"}], "]"}]}], ")"}]}], ",",
RowBox[{"{",
RowBox[{"a", ",", "1", ",",
RowBox[{"Length", "[",
RowBox[{"ResultMonomials", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "}"}]}], "]"}],
"}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"ZnActionAppliesToVariables", "=",
RowBox[{"{", "1", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ZnAction", "=",
RowBox[{"{",
RowBox[{"-",
SubscriptBox["x", "1"]}], "}"}]}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"ActionOnMonomials", "=",
RowBox[{"{",
RowBox[{"Product", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"ZnAction", "[",
RowBox[{"[",
RowBox[{
RowBox[{"Position", "[",
RowBox[{"coordinates", ",",
RowBox[{"ResultMonomials", "[",
RowBox[{"[",
RowBox[{"1", ",", "a", ",", "1"}], "]"}], "]"}]}], "]"}],
"[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "]"}], "]"}],
")"}], "^",
RowBox[{"(",
RowBox[{
RowBox[{"ResultMonomials", "[",
RowBox[{"[",
RowBox[{"1", ",", "a", ",", "2"}], "]"}], "]"}], "*",
RowBox[{"SignVector", "[",
RowBox[{"[", "a", "]"}], "]"}]}], ")"}]}], ",",
RowBox[{"{",
RowBox[{"a", ",", "1", ",",
RowBox[{"Length", "[",
RowBox[{"ResultMonomials", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "}"}]}], "]"}],
"}"}]}]}], ",", "\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"Monomials", "=",
RowBox[{"Map", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"Product", "[",
RowBox[{
RowBox[{
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "1"}], "]"}], "]"}], "^",
RowBox[{"(",
RowBox[{
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "2"}], "]"}], "]"}], "*",
RowBox[{"SignVector", "[",
RowBox[{"[", "a", "]"}], "]"}]}], ")"}]}], ",",
RowBox[{"{",
RowBox[{"a", ",", "1", ",",
RowBox[{"Length", "[",
RowBox[{"ResultMonomials", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "}"}]}], "]"}],
"&"}], ",",
RowBox[{"ResultMonomials", "[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{
RowBox[{"Length", "[", "ResultMonomials", "]"}], "-",
"1"}]}], "]"}], "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "Monomials", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"ZnActionAppliesToVariables", "=",
RowBox[{"{", "1", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ZnAction", "=",
RowBox[{"{",
RowBox[{"-",
SubscriptBox["x", "1"]}], "}"}]}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"ActionOnMonomials", "=",
RowBox[{"Map", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Product", "[",
RowBox[{
RowBox[{
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "1"}], "]"}], "]"}], "^",
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "2"}], "]"}], "]"}]}], ",",
RowBox[{"{",
RowBox[{"a", ",", "1", ",",
RowBox[{"Length", "[",
RowBox[{"ResultMonomials", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "}"}]}], "]"}],
"/",
RowBox[{"Product", "[",
RowBox[{
RowBox[{
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "1"}], "]"}], "]"}], "^",
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "2"}], "]"}], "]"}]}], ",",
RowBox[{"{",
RowBox[{"a", ",", "ZnActionAppliesToVariables"}], "}"}]}],
"]"}]}], "**)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"Product", "[",
RowBox[{
RowBox[{
RowBox[{"ZnAction", "[",
RowBox[{"[", "a", "]"}], "]"}], "^",
RowBox[{"(",
RowBox[{
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "2"}], "]"}], "]"}], "*",
RowBox[{"SignVector", "[",
RowBox[{"[", "a", "]"}], "]"}]}], ")"}]}], ",",
RowBox[{"{",
RowBox[{"a", ",",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"#", "&"}], ",",
RowBox[{"Length", "[", "coordinates", "]"}]}], "]"}]}],
"}"}]}], "]"}], "&"}], ",",
RowBox[{"ResultMonomials", "[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{
RowBox[{"Length", "[", "ResultMonomials", "]"}], "-",
"1"}]}], "]"}], "]"}]}], "]"}]}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"ActionOnMonomials", "=",
RowBox[{"Map", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Product", "[",
RowBox[{
RowBox[{
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "1"}], "]"}], "]"}], "^",
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "2"}], "]"}], "]"}]}], ",",
RowBox[{"{",
RowBox[{"a", ",", "1", ",",
RowBox[{"Length", "[",
RowBox[{"ResultMonomials", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "}"}]}], "]"}],
"/",
RowBox[{"Product", "[",
RowBox[{
RowBox[{
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "1"}], "]"}], "]"}], "^",
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "2"}], "]"}], "]"}]}], ",",
RowBox[{"{",
RowBox[{"a", ",", "ZnActionAppliesToVariables"}], "}"}]}],
"]"}]}], "**)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"Product", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"ZnAction", "[",
RowBox[{"[",
RowBox[{
RowBox[{"Position", "[",
RowBox[{"coordinates", ",",
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "1"}], "]"}], "]"}]}], "]"}], "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "]"}], "]"}],
")"}], "^",
RowBox[{"(",
RowBox[{
RowBox[{"#", "[",
RowBox[{"[",
RowBox[{"a", ",", "2"}], "]"}], "]"}], "*",
RowBox[{"SignVector", "[",
RowBox[{"[", "a", "]"}], "]"}]}], ")"}]}], ",",
RowBox[{"{",
RowBox[{"a", ",", "1", ",",
RowBox[{"Length", "[",
RowBox[{"ResultMonomials", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "}"}]}], "]"}],
"&"}], ",",
RowBox[{"ResultMonomials", "[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{
RowBox[{"Length", "[", "ResultMonomials", "]"}], "-",
"1"}]}], "]"}], "]"}]}], "]"}]}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
RowBox[{
RowBox[{"ZnAction", "[",
RowBox[{"[", "1", "]"}], "]"}], "*",
RowBox[{"ResultMonomials", "[",
RowBox[{"[",
RowBox[{"8", ",", "1", ",", "1"}], "]"}], "]"}]}], ",",
"\"\<^\>\"", ",",
RowBox[{"(",
RowBox[{
RowBox[{"ResultMonomials", "[",
RowBox[{"[",
RowBox[{"8", ",", "1", ",", "2"}], "]"}], "]"}], "*",
RowBox[{"SignVector", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ")"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Print", "[",
RowBox[{
"Monomials", ",", "\"\<\\n\>\"", ",", "ActionOnMonomials"}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"We", " ", "still", " ", "need", " ", "to", " ", "take", " ", "the",
" ", "denominator", " ", "element", " ", "into", " ", "account"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"DenominatorMonomial", "=",
RowBox[{"Product", "[",
RowBox[{
RowBox[{"DenominatorElement", "[",
RowBox[{"[", "i", "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[", "DenominatorElement", "]"}]}], "}"}]}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Perform", " ", "the", " ", "action", " ", "on", " ", "the", " ",
"denominator", " ", "element"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"ActionDenominatorMonomial", "=",
RowBox[{"Product", "[",
RowBox[{
RowBox[{"ZnAction", "[",
RowBox[{"[",
RowBox[{
RowBox[{"Position", "[",
RowBox[{"coordinates", ",",
RowBox[{"DenominatorElement", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}], "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[", "DenominatorElement", "]"}]}], "}"}]}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"Monomials", ",", "\"\<\\n\>\""}], "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "Monomials", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"Monomials", "=",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{"#", "/", "DenominatorMonomial"}], "&"}], ",",
"Monomials"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "Monomials", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"ActionOnMonomials", "=",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{"#", "/", "ActionDenominatorMonomial"}], "&"}], ",",
"ActionOnMonomials"}], "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"\"\\"", ",", "ActionOnMonomials"}],
"]"}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"ModifiedMonomials", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"Monomials", "[",
RowBox[{"[", "#", "]"}], "]"}], "&"}], ",",
RowBox[{"Length", "[", "Monomials", "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"ModifiedActionOnMonomials", "=",
RowBox[{"Flatten", "[",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"ActionOnMonomials", "[",
RowBox[{"[", "#", "]"}], "]"}], "&"}], ",",
RowBox[{"Length", "[", "ActionOnMonomials", "]"}]}], "]"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"Length", "[", "ModifiedActionOnMonomials", "]"}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"ModifiedMonomials", "-", "ModifiedActionOnMonomials"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Invariant", "=",
RowBox[{"Count", "[",
RowBox[{
RowBox[{"ModifiedMonomials", "-", "ModifiedActionOnMonomials"}],
",", "0"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"=",
RowBox[{"Count", "[",
RowBox[{
RowBox[{"ModifiedMonomials", "-", "ModifiedActionOnMonomials"}],
",", "0"}], "]"}]}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"NonInvariant", "=",
RowBox[{
RowBox[{"Length", "[", "ModifiedMonomials", "]"}], "-",
"Invariant"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "DenominatorMonomial", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"Verbose6", ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",", "LineBundle", ",",
"\"\< Denominator: \>\"", ",", "DenominatorElement"}], "]"}],
";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"\"\\"", ",", "ResultMonomials"}],
"]"}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",", "ModifiedMonomials", ",",
"\"\<\\n Action Laurent monomials: \>\"", ",",
"ModifiedActionOnMonomials", ",",
"\"\<\\n Monoms-ActionMonoms: \>\"", ",",
RowBox[{
"ModifiedMonomials", "-", "ModifiedActionOnMonomials"}]}], "]"}],
";"}]}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",", "ModifiedMonomials", ",",
"\"\\"", ",",
"ModifiedActionOnMonomials", ",",
"\"\< Monoms-ActionMonoms: \>\"", ",",
RowBox[{
"ModifiedMonomials", "-", "ModifiedActionOnMonomials"}]}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Representatives", "=", "ModifiedMonomials"}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "EquivariantCalculation", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",", "Invariant", ",",
"\"\< and non-invariant = \>\"", ",", "NonInvariant"}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"{",
RowBox[{"Invariant", ",", "NonInvariant"}], "}"}], "]"}]}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Interface", " ", "to", " ", "the", " ", "cohomCalg", " ",
RowBox[{"C", "++"}], " ",
RowBox[{"Implementation", ".", " ", "In"}], " ", "and", " ", "output",
" ", "are", " ", "the", " ", "same", " ", "as", " ", "in", " ", "the",
" ", "first", " ", "Mathematica", " ", "implementation", " ", "of", " ",
"cohomCalg"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"LineBundleCohomologyOf", "[",
RowBox[{"AmbientSpace_", ",", "LineBundle_"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{", "i", "}"}], ",", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"ListOrLineBundleCohomologyOf", "[",
RowBox[{"AmbientSpace", ",", "LineBundle"}], "]"}], "]"}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Generates", " ", "the", " ", "requested", " ", "command", " ", "for",
" ", "a", " ", "given", " ", "variety", " ", "and", " ", "line", " ",
"bundle"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"GenerateRequestCommand", "[",
RowBox[{"AmbientVariety_", ",", "LineBundles_"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "command", ",", "StringAmbientVariety", ",",
"StingLineBundle"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"StringAmbientVariety", "=", " ",
RowBox[{
"ConvertMathematicaToCppInput", "[", "AmbientVariety", "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"command", "=",
RowBox[{"StringJoin", "[",
RowBox[{
"\"\\"", ",", "cohomCalgExecutable", ",",
"\"\< --integrated --in=\\\" \>\"", ",", "StringAmbientVariety"}],
"]"}]}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "1"}], ",",
RowBox[{"j", "\[LessEqual]",
RowBox[{"Length", "[", "LineBundles", "]"}]}], ",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"StingLineBundle", "=",
RowBox[{"ToString", "[",
RowBox[{"LineBundles", "[",
RowBox[{"[",
RowBox[{"j", ",", "1"}], "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "2"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"LineBundles", "[",
RowBox[{"[", "j", "]"}], "]"}], "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"StingLineBundle", "=",
RowBox[{"StringJoin", "[",
RowBox[{"StingLineBundle", ",", "\"\<,\>\"", ",",
RowBox[{"ToString", "[",
RowBox[{"LineBundles", "[",
RowBox[{"[",
RowBox[{"j", ",", "i"}], "]"}], "]"}], "]"}]}], "]"}]}],
";"}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"command", "=",
RowBox[{"StringJoin", "[",
RowBox[{
"command", ",", "\"\< ambientcohom O(\>\"", ",",
"StingLineBundle", ",", "\"\<); \>\""}], "]"}]}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"command", "=",
RowBox[{"StringJoin", "[",
RowBox[{"command", ",", "\"\<\\\" \>\"", ",", "TempFile"}], "]"}]}],
";", "\[IndentingNewLine]",
RowBox[{"Return", "[", "command", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
"From", " ", "a", " ", "short", " ", "exact", " ", "sequence", " ", "of",
" ", "bundles", " ", "one", " ", "can", " ", "obtain", " ", "a", " ",
"long", " ", "exact", " ", "in", " ",
RowBox[{"cohomology", ".", " ", "This"}], " ", "routine", " ", "serves",
" ", "to", " ", "calculate", " ", "the", " ", "third", " ",
"cohomology", " ", "vector", " ", "of", " ", "such", " ", "a", " ",
RowBox[{"scenario", ".", " ", "The"}], " ", "input", " ", "data", " ",
"are", " ", "the", " ", "two", " ", "given", " ", "vectors", " ", "in",
" ", "the", " ", "correct", " ", "order", " ", "as", " ", "well", " ",
"as", " ", "the", " ", "position", " ", "of", " ", "the", " ", "third",
" ", "requested", " ",
RowBox[{"vector", ".", " ", "The"}], " ", "fourth", " ", "variable",
" ", "is", " ", "the", " ", "dimension", " ", "of", " ", "the", " ",
"requested", " ", "cohomology", " ", "vector", " ", "and", " ", "in",
" ", "the", " ", "last", " ", "one", " ", "one", " ", "can", " ",
"include", " ", "known", " ", "data", " ", "from", " ", "the", " ",
"requested", " ", "cohomology", " ",
RowBox[{"vector", ".", " ", "For"}], " ", "instance", " ", "if", " ",
"one", " ", "knows", " ", "that", " ", "the", " ", "first", " ",
"entry", " ", "of", " ", "that", " ", "vector", " ", "is", " ", "zero",
" ", "one", " ", "can", " ", "type", " ",
RowBox[{
RowBox[{"{",
RowBox[{"{",
RowBox[{"1", ",", "0"}], "}"}], "}"}], ".", " ", "If"}], " ",
"nothing", " ", "is", " ", "known", " ", "one", " ", "needs", " ", "to",
" ", "type", " ",
RowBox[{
RowBox[{"{", "}"}], ".", " ", "The"}], " ", "routine", " ", "returns",
" ", "the", " ", "most", " ", "general", " ", "result", " ", "one", " ",
"can", " ", "get"}], ",", " ",
RowBox[{
"only", " ", "using", " ", "that", " ", "the", " ", "long", " ",
"sequence", " ", "is", " ", "exact", " ", "and", " ", "without", " ",
"taking", " ", "into", " ", "account", " ", "how", " ", "the", " ",
"maps", " ", "look", " ",
RowBox[{"like", "."}]}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"ThirdVectorFromLongExactSequence", "[",
RowBox[{
"CohomVector1_", ",", "CohomVector2_", ",", "RequestedVectorPosition_",
",", "RequestedVectorDimension_", ",", "Retrictions_"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{", "i", "}"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Only", " ", "resolve", " ", "sequences", " ", "if", " ", "program",
" ", "does", " ", "not", " ", "collect", " ", "line", " ",
"bundles"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"ThirdVectorFromLongExactSequenceLabeled", "[",
RowBox[{
RowBox[{"{",
RowBox[{"CohomVector1", ",", "\"\\""}], "}"}], ",",
RowBox[{"{",
RowBox[{"CohomVector2", ",", "\"\\""}], "}"}], ",",
"\"\\"", ",", "RequestedVectorPosition", ",",
"RequestedVectorDimension", ",", "Retrictions"}], "]"}], "]"}],
",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"else", " ", "if", " ", "line", " ", "bundles", " ", "are", " ",
"only", " ", "collected"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"Length", " ", "[", "CohomVector1", "]"}]}], "]"}],
"]"}]}], "\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]",
"]"}]}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Here", " ", "we", " ", "can", " ", "add", " ", "labels", " ", "to", " ",
"the", " ", "column"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"ThirdVectorFromLongExactSequenceLabeled", "[",
RowBox[{
RowBox[{"{",
RowBox[{"CohomVector1_", ",", "Label1_"}], "}"}], ",",
RowBox[{"{",
RowBox[{"CohomVector2_", ",", "Label2_"}], "}"}], ",", "Label3_", ",",
"RequestedVectorPosition_", ",", "RequestedVectorDimension_", ",",
"Retrictions_"}], "]"}], ":=", "\[IndentingNewLine]",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "EquationsToSolve", ",", "TempAltersum", ",",
"LongExactSequence", ",", "PositionList", ",", "SolutionVector", ",",
"Solution", ",", "ParameterVector", ",", "WorkingVector", ",",
"LongExactSequenceTable", ",", "SolutionTable", ",", "Labels"}],
"}"}], ",", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Only", " ", "resolve", " ", "sequences", " ", "if", " ", "program",
" ", "does", " ", "not", " ", "collect", " ", "line", " ",
"bundles"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Vector", " ", "of", " ", "parameters", " ", "that", " ", "will",
" ", "be", " ", "constraint", " ", "by", " ", "altering", " ",
"sums", " ", "in", " ", "the", " ", "long", " ", "exact", " ",
"sequence"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"The", " ", "index", " ", "grows", " ", "with", " ", "every", " ",
"request", " ", "in", " ", "order", " ", "avoid", " ", "using", " ",
"the", " ", "same", " ", "parameters", " ", "in", " ", "different",
" ", "tasks"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"ParameterVector", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
SubscriptBox["A",
RowBox[{"Index", "+", "#", "-", "1"}]], "&"}], ",",
RowBox[{"Length", " ", "[", "CohomVector1", "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"This", " ", "vector", " ", "is", " ", "for", " ", "working", " ",
"and", " ", "has", " ", "therefore", " ", "the", " ", "same", " ",
"length", " ", "of", " ", "all", " ", "the", " ", "other", " ",
"vectors", " ",
RowBox[{"involved", ".", " ", "It"}], " ", "will", " ", "be", " ",
"solved", " ", "for", " ", "the", " ",
RowBox[{"h", "^"}], "*", " ", "and", " ", "be", " ", "returned",
" ", "afterwards"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"WorkingVector", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
SubscriptBox["h",
RowBox[{"#", "-", "1"}]], "&"}], ",",
RowBox[{"Length", " ", "[", "CohomVector1", "]"}]}], "]"}]}], ";",
" ", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Put", " ", "parameters"}], ",", " ",
RowBox[{
"higher", " ", "than", " ", "the", " ", "requested", " ",
"dimension"}], ",", " ",
RowBox[{"to", " ", "zero"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=",
RowBox[{"RequestedVectorDimension", "+", "2"}]}], ",",
RowBox[{"i", "\[LessEqual]", " ",
RowBox[{"Length", "[", "CohomVector1", "]"}]}], ",",
RowBox[{"i", "++"}], ",",
RowBox[{
RowBox[{"ParameterVector", "[",
RowBox[{"[", "i", "]"}], "]"}], "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Takes", " ", "the", " ", "parts", " ", "of", " ", "the", " ",
"result", " ", "that", " ", "are", " ", "already", " ", "known",
" ", "into", " ", "account"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]", " ",
RowBox[{"Length", "[", "Retrictions", "]"}]}], ",",
RowBox[{"i", "++"}], ",",
RowBox[{
RowBox[{"ParameterVector", "[",
RowBox[{"[",
RowBox[{"Retrictions", "[",
RowBox[{"[",
RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "=",
RowBox[{"Retrictions", "[",
RowBox[{"[",
RowBox[{"i", ",", "2"}], "]"}], "]"}]}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Put", " ", "the", " ", "requested", " ", "vector", " ", "in", " ",
"the", " ", "right", " ", "position", " ", "of", " ", "the", " ",
"sequence"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"RequestedVectorPosition", "\[Equal]", "1"}], ",",
RowBox[{
RowBox[{"LongExactSequence", "=",
RowBox[{"Transpose", "[",
RowBox[{"{",
RowBox[{
"ParameterVector", ",", "CohomVector1", ",", "CohomVector2"}],
"}"}], "]"}]}], ";",
RowBox[{"Labels", "=",
RowBox[{"{",
RowBox[{"Label3", ",", "Label1", ",", "Label2"}], "}"}]}]}]}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"RequestedVectorPosition", "\[Equal]", "2"}], ",",
RowBox[{
RowBox[{"LongExactSequence", "=",
RowBox[{"Transpose", "[",
RowBox[{"{",
RowBox[{
"CohomVector1", ",", "ParameterVector", ",", "CohomVector2"}],
"}"}], "]"}]}], ";",
RowBox[{"Labels", "=",
RowBox[{"{",
RowBox[{"Label1", ",", "Label3", ",", "Label2"}], "}"}]}]}]}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"RequestedVectorPosition", "\[Equal]", "3"}], ",",
RowBox[{
RowBox[{"LongExactSequence", "=",
RowBox[{"Transpose", "[",
RowBox[{"{",
RowBox[{
"CohomVector1", ",", "CohomVector2", ",", "ParameterVector"}],
"}"}], "]"}]}], ";",
RowBox[{"Labels", "=",
RowBox[{"{",
RowBox[{"Label1", ",", "Label2", ",", "Label3"}], "}"}]}]}]}],
"]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"EquationsToSolve", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"TempAltersum", "=", "0"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"List", " ", "of", " ", "positions", " ", "of", " ", "zeros", " ",
"in", " ", "the", " ", "long", " ", "exact", " ", "sequence"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"PositionList", "=",
RowBox[{"Position", "[",
RowBox[{"LongExactSequence", ",", "0"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Go", " ", "through", " ", "the", " ", "long", " ", "exact", " ",
"sequence", " ", "and", " ", "collect", " ", "shorter", " ",
"exact", " ", "sequences", " ", "between", " ", "their", " ",
"zero", " ", "entries"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "LongExactSequence", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "1"}], ",",
RowBox[{"j", "\[LessEqual]", " ",
RowBox[{"Length", "[",
RowBox[{"LongExactSequence", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], ",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"TempAltersum", "=",
RowBox[{"TempAltersum", "+",
RowBox[{
RowBox[{"Power", "[",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"i", "+", "j"}]}], "]"}], "*",
RowBox[{"LongExactSequence", "[",
RowBox[{"[",
RowBox[{"i", ",", "j"}], "]"}], "]"}]}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"MemberQ", "[",
RowBox[{"PositionList", ",",
RowBox[{"{",
RowBox[{"i", ",", "j"}], "}"}]}], "]"}], "||",
RowBox[{"(",
RowBox[{
RowBox[{"i", "\[Equal]",
RowBox[{"Length", "[", "LongExactSequence", "]"}]}], "&&",
" ",
RowBox[{"j", "\[Equal]", " ",
RowBox[{"Length", "[",
RowBox[{"LongExactSequence", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}]}], ")"}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"LongExactSequence", "[",
RowBox[{"[",
RowBox[{"i", ",", "j"}], "]"}], "]"}], "\[NotEqual]", " ",
"0"}], ","}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"AppendTo", "[",
RowBox[{"EquationsToSolve", ",",
RowBox[{"{", "TempAltersum", "}"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"TempAltersum", "=", "0"}]}]}],
"\[IndentingNewLine]", "]"}]}]}], "\[IndentingNewLine]",
"]"}]}], "\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Solutions", " ", "of", " ", "the", " ", "equations"}],
",", " ",
RowBox[{
"given", " ", "by", " ", "exact", " ", "sequences", " ", "between",
" ", "zeros", " ", "in", " ", "the", " ", "long", " ", "exact",
" ", "sequence"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Solution", "=",
RowBox[{"Solve", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"WorkingVector", " ", "-", " ", "ParameterVector"}],
"\[Equal]", "0"}], "&&", " ",
RowBox[{"EquationsToSolve", "\[Equal]", "0"}]}], ",",
"WorkingVector"}], "]"}]}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"Solution", "=",
RowBox[{
RowBox[{
RowBox[{"{",
RowBox[{"Reduce", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"WorkingVector", "-", "ParameterVector"}],
"\[Equal]", "0"}], "&&",
RowBox[{"EquationsToSolve", "\[Equal]", "0"}]}], ",",
"WorkingVector"}], "]"}], "}"}], "/.",
RowBox[{
RowBox[{"(",
RowBox[{"y__", "&&", "z__"}], ")"}], "\[RuleDelayed]",
RowBox[{"{",
RowBox[{"y", ",", "z"}], "}"}]}]}], "/.",
RowBox[{
RowBox[{"(",
RowBox[{"x_", "\[Equal]", "y_"}], ")"}], "\[RuleDelayed]",
RowBox[{"(",
RowBox[{"x", "\[Rule]", "y"}], ")"}]}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"Solution", "\[Equal]",
RowBox[{"{", "False", "}"}]}], ",",
RowBox[{
RowBox[{"Print", "[", "\"\<\!\(\*
StyleBox[\"xxxxxxx\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"LongExactSequence\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"is\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"inconsistent\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"-\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"Results\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"may\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"not\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"be\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"trustworthy\",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\" \",
FontColor->RGBColor[1, 0, 0]]\)\!\(\*
StyleBox[\"xxxxxxx\",
FontColor->RGBColor[1, 0, 0]]\)\>\"", "]"}], ";",
RowBox[{"Solution", "=",
RowBox[{"{", "}"}]}]}]}], "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "Solution", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"WorkingVector", "=",
RowBox[{"Flatten", "[",
RowBox[{"WorkingVector", "/.", "Solution"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Index", "=",
RowBox[{"Index", "+",
RowBox[{"Length", " ", "[", "CohomVector1", "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{",",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]", "]"}], ";"}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Extended", " ", "Search", " ", "for", " ", "twisted"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"Position", "[",
RowBox[{"LongExactSequence", ",", "Pi"}], "]"}], "\[Equal]",
RowBox[{"{", "}"}]}], "&&",
RowBox[{"VerboseSearchForTwisted", "\[Equal]", "True"}]}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"If", " ", "requested"}], ",", " ",
RowBox[{
"the", " ", "long", " ", "exact", " ", "sequence", " ", "is", " ",
"printed", " ", "before", " ", "calculation"}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"ShowLongExactSequences", "\[Equal]", " ", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"FancyOutput", "\[NotEqual]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{"Print", "[",
RowBox[{"\"\\"", ",",
RowBox[{"MatrixForm", "[", "\[IndentingNewLine]",
RowBox[{"Transpose", "[",
RowBox[{"{",
RowBox[{
RowBox[{"Join", "[",
RowBox[{
RowBox[{"{",
RowBox[{"Labels", "[",
RowBox[{"[", "1", "]"}], "]"}], "}"}], ",",
RowBox[{
RowBox[{"Transpose", "[", "LongExactSequence", "]"}], "[",
RowBox[{"[", "1", "]"}], "]"}]}], "]"}], ",",
RowBox[{"Join", "[",
RowBox[{
RowBox[{"{",
RowBox[{"Labels", "[",
RowBox[{"[", "2", "]"}], "]"}], "}"}], ",",
RowBox[{
RowBox[{"Transpose", "[", "LongExactSequence", "]"}], "[",
RowBox[{"[", "2", "]"}], "]"}]}], "]"}], ",",
RowBox[{"Join", "[",
RowBox[{
RowBox[{"{",
RowBox[{"Labels", "[",
RowBox[{"[", "3", "]"}], "]"}], "}"}], ",",
RowBox[{
RowBox[{"Transpose", "[", "LongExactSequence", "]"}], "[",
RowBox[{"[", "3", "]"}], "]"}]}], "]"}]}], "}"}], "]"}],
"]"}], ",", "\[IndentingNewLine]", "\"\< --> \>\"", ",",
RowBox[{"Labels", "[",
RowBox[{"[", "RequestedVectorPosition", "]"}], "]"}], ",",
"\"\< = \>\"", " ", ",",
RowBox[{"MatrixForm", "[", "WorkingVector", "]"}]}], "]"}],
",", "\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"LongExactSequenceTable", "=", "\[IndentingNewLine]",
RowBox[{"Text", "@",
RowBox[{"Grid", "[",
RowBox[{
RowBox[{"Prepend", "[",
RowBox[{"LongExactSequence", ",", "Labels"}], "]"}], ",",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{"None", ",",
RowBox[{"{",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"Yellow", ",", ".9"}], "]"}], ",",
RowBox[{"{",
RowBox[{"White", ",",
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{"Blend", "[",
RowBox[{"{",
RowBox[{"Blue", ",", "Green"}], "}"}], "]"}], ",", ".8"}],
"]"}]}], "}"}]}], "}"}]}], "}"}]}], ",",
RowBox[{"Dividers", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Lighter", "[",
RowBox[{"Gray", ",", ".5"}], "]"}], "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{", "False", "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}]}], "}"}]}],
",",
RowBox[{"Alignment", "\[Rule]",
RowBox[{"{", "Center", "}"}]}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"ItemSize", "\[Rule]",
RowBox[{"{",
RowBox[{"{",
RowBox[{"10", ",", "3", ",", "5", ",", "5"}], "}"}],
"}"}]}], ","}], "*)"}],
RowBox[{"Frame", "\[Rule]",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], ",",
RowBox[{"ItemStyle", "\[Rule]", "14"}], ",",
RowBox[{"Spacings", "\[Rule]",
RowBox[{"{",
RowBox[{"Automatic", ",", ".8"}], "}"}]}]}], "]"}]}]}],
";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"SolutionTable", "=",
RowBox[{"Text", "@",
RowBox[{"Grid", "[",
RowBox[{
RowBox[{"Prepend", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{"{", "WorkingVector", "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Labels", "[",
RowBox[{"[", "RequestedVectorPosition", "]"}], "]"}],
"}"}]}], "]"}], ",",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{"None", ",",
RowBox[{"{",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"Yellow", ",", ".9"}], "]"}], ",",
RowBox[{"{",
RowBox[{"White", ",",
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{"Blend", "[",
RowBox[{"{",
RowBox[{"Blue", ",", "Green"}], "}"}], "]"}], ",", ".8"}],
"]"}]}], "}"}]}], "}"}]}], "}"}]}], ",",
RowBox[{"Dividers", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Lighter", "[",
RowBox[{"Gray", ",", ".5"}], "]"}], "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{", "False", "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}]}], "}"}]}],
",",
RowBox[{"Alignment", "\[Rule]",
RowBox[{"{", "Center", "}"}]}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"ItemSize", "\[Rule]",
RowBox[{"{",
RowBox[{"{",
RowBox[{"10", ",", "3", ",", "5", ",", "5"}], "}"}],
"}"}]}], ","}], "*)"}],
RowBox[{"Frame", "\[Rule]",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], ",",
RowBox[{"ItemStyle", "\[Rule]", "14"}], ",",
RowBox[{"Spacings", "\[Rule]",
RowBox[{"{",
RowBox[{"Automatic", ",", ".8"}], "}"}]}]}], "]"}]}]}],
";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"Print", "[",
RowBox[{"LongExactSequenceTable", ",",
RowBox[{"Style", "[",
RowBox[{"\"\< \[DoubleLongRightArrow] \>\"", ",",
RowBox[{"FontSize", "\[Rule]", "30"}]}], "]"}], ",",
"SolutionTable"}], "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Extended", " ", "Search", " ", "for", " ", "twisted"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"Position", "[",
RowBox[{"LongExactSequence", ",", "Pi"}], "]"}], "\[Equal]",
RowBox[{"{", "}"}]}], "&&",
RowBox[{"VerboseSearchForTwisted", "\[Equal]", "True"}]}], ",",
RowBox[{"ShowLongExactSequences", "=", "1"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Return", "[", "WorkingVector", "]"}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"else", " ", "if", " ", "line", " ", "bundles", " ", "are", " ",
"only", " ", "collected"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"Length", " ", "[", "CohomVector1", "]"}]}], "]"}],
"]"}]}], "\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]",
"\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*", "Start", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace_", ",", "ComplInters_", ",", "LineBundle_"}],
"]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{", "}"}], ",", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"ListOrKoszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",", "LineBundle"}],
"]"}], "]"}]}], "\[IndentingNewLine]", "]"}]}], ";"}],
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Routine", " ", "that", " ", "uses", " ", "the", " ", "Koszul", " ",
"complex", " ", "in", " ", "order", " ", "to", " ", "calculate", " ",
"the", " ", "cohomology", " ", "of", " ", "a", " ", "line", " ",
"bundle", " ", "of", " ", "a", " ", "complete", " ", "intersection", " ",
"via", " ", "line", " ", "bundles", " ", "of", " ", "the", " ",
"ambient", " ",
RowBox[{"variety", ".", " ", "Input"}], " ", "data", " ", "are", " ",
"the", " ", "ambient", " ", "variety", " ", "the", " ", "complete", " ",
"intersection", " ", "divisors", " ", "and", " ", "the", " ", "line",
" ", "bundle"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"ListOrKoszul", "[",
RowBox[{"AmbientSpace_", ",", "ComplInters_", ",", "LineBundle_"}],
"]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "DimAmbientSpace", ",", "DimComplInters", ",",
"CalculatedLineBundles", ",", "SubVarLineBundleCohom", ",",
"PositionLinebundleInList", ",", "NumberOfLineBundlesNeededTmp"}],
"}"}], ",", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"KoszuledLineBundleList", "[",
RowBox[{"[", "1", "]"}], "]"}], "\[NotEqual]", " ",
RowBox[{"{",
RowBox[{"AmbientSpace", ",", "ComplInters"}], "}"}]}], ",",
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{",
RowBox[{"AmbientSpace", ",", "ComplInters"}], "}"}], "}"}]}]}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"PositionLinebundleInList", "=",
RowBox[{"Position", "[",
RowBox[{"KoszuledLineBundleList", ",", "LineBundle", ",",
RowBox[{"{", "2", "}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"PositionLinebundleInList", "\[NotEqual]",
RowBox[{"{", "}"}]}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}], "++"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "=",
RowBox[{"KoszuledLineBundleList", "[",
RowBox[{"[",
RowBox[{
RowBox[{"PositionLinebundleInList", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], ",", "2"}], "]"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"KoszuledLineBundleList", "[",
RowBox[{"[",
RowBox[{"PositionLinebundleInList", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}], "=",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}], "+",
RowBox[{"KoszuledLineBundleList", "[",
RowBox[{"[",
RowBox[{
RowBox[{"PositionLinebundleInList", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], ",", "3"}], "]"}],
"]"}]}]}], ";"}], "\[IndentingNewLine]", ",",
"\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"If", " ", "ComplInts", " ", "is", " ", "empty"}], ",",
" ",
RowBox[{
"the", " ", "routine", " ", "returns", " ", "simply", " ", "the",
" ", "cohomology", " ", "of", " ", "the", " ", "line", " ",
"bundle", " ", "on", " ", "the", " ", "ambient", " ",
"variety"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"ComplInters", "\[Equal]",
RowBox[{"{", "}"}]}], ",",
RowBox[{"Return", "[",
RowBox[{"ListOrLineBundleCohomologyOf", "[",
RowBox[{"AmbientSpace", ",", "LineBundle"}], "]"}], "]"}]}],
"]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"DimAmbientSpace", "=",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"DimComplInters", "=",
RowBox[{"DimAmbientSpace", "-",
RowBox[{"Length", "[", "ComplInters", "]"}]}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"NumberOfLineBundlesNeededTmp", "=",
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"ShowLongExactSequences", "\[Equal]", "1"}], ",",
RowBox[{"Print", "[",
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], ",",
"\"\< Koszul Sequences: The following linebundles are \
calculated\>\""}], "]"}]}], "]"}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"CalculatedLineBundles", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Start", " ", "the", " ", "recursion"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"SubVarLineBundleCohom", "=",
RowBox[{"RecursivKoszul", "[",
RowBox[{
"ComplInters", ",", "DimAmbientSpace", ",", "LineBundle", ",",
"AmbientSpace", ",", "CalculatedLineBundles", ",", "1"}],
RowBox[{"(*", "RecursionNumber", "*)"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"ShowLongExactSequences", "\[Equal]", "1"}], ",",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",",
RowBox[{"SubvarietyResult", "[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{"DimComplInters", "+", "1"}]}], "]"}], "]"}]}],
"]"}], ";",
RowBox[{"Print", "[", "\"\< \>\"", "]"}]}]}], "]"}], ";"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"NumberOfLineBundlesNeededTmp", "=",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}], "-",
"NumberOfLineBundlesNeededTmp"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "NumberOfLineBundlesNeededTmp", "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"SearchForTwisted", "\[Equal]", "2"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Length", "[",
RowBox[{"Position", "[",
RowBox[{"SubVarLineBundleCohom", ",", "A"}], "]"}], "]"}],
"\[NotEqual]", "0"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"This", " ", "vector", " ", "is", " ", "for", " ",
"working", " ", "and", " ", "has", " ", "therefore", " ",
"the", " ", "same", " ", "length", " ", "of", " ", "all",
" ", "the", " ", "other", " ", "vectors", " ",
RowBox[{"involved", ".", " ", "It"}], " ", "will", " ",
"be", " ", "solved", " ", "for", " ", "the", " ",
RowBox[{"h", "^"}], "*", " ", "and", " ", "be", " ",
"returned", " ", "afterwards"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"WorkingVector", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
SubscriptBox["h",
RowBox[{"#", "-", "1"}]], "&"}], ",",
RowBox[{
"Length", " ", "[", "SubVarLineBundleCohom", "]"}]}],
"]"}]}], ";", " ", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
"Solutions", " ", "of", " ", "the", " ", "equations"}],
",", " ",
RowBox[{
"given", " ", "by", " ", "exact", " ", "sequences", " ",
"between", " ", "zeros", " ", "in", " ", "the", " ",
"long", " ", "exact", " ", "sequence"}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Solution", "=",
RowBox[{"Solve", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
"WorkingVector", " ", "-", " ", "ParameterVector"}],
"\[Equal]", "0"}], "&&", " ",
RowBox[{"EquationsToSolve", "\[Equal]", "0"}]}], ",",
"WorkingVector"}], "]"}]}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"Solution", "=",
RowBox[{
RowBox[{
RowBox[{"{",
RowBox[{"Reduce", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"WorkingVector", "-", "SubVarLineBundleCohom"}],
"\[Equal]", "0"}], "&&",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"2", ";;", "3"}], "]"}], "]"}], "\[Equal]",
"0"}]}], ",", "WorkingVector"}], "]"}], "}"}], "/.",
RowBox[{
RowBox[{"(",
RowBox[{"y__", "&&", "z__"}], ")"}], "\[RuleDelayed]",
RowBox[{"{",
RowBox[{"y", ",", "z"}], "}"}]}]}], "/.",
RowBox[{
RowBox[{"(",
RowBox[{"x_", "\[Equal]", "y_"}], ")"}], "\[RuleDelayed]",
RowBox[{"(",
RowBox[{"x", "\[Rule]", "y"}], ")"}]}]}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "SubVarLineBundleCohom", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Print", "[",
RowBox[{"Position", "[",
RowBox[{"SubVarLineBundleCohom", ",", "A"}], "]"}], "]"}],
";", "\[IndentingNewLine]",
RowBox[{"Print", "[",
RowBox[{"Position", "[",
RowBox[{"SubVarLineBundleCohom", ",", "Subscript"}],
"]"}], "]"}], ";", "\[IndentingNewLine]",
RowBox[{"Print", "[",
RowBox[{"Delete", "[",
RowBox[{"SubVarLineBundleCohom", ",",
RowBox[{"Position", "[",
RowBox[{"SubVarLineBundleCohom", ",", "A"}], "]"}]}],
"]"}], "]"}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Positions", "=",
RowBox[{"Position", "[",
RowBox[{"SubVarLineBundleCohom", ",", "A"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"SubVarLineBundleCohom", "=",
RowBox[{"SubVarLineBundleCohom", "/.",
RowBox[{"Subscript", "\[Rule]", "Sum"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"SubVarLineBundleCohom", "=",
RowBox[{"SubVarLineBundleCohom", "/.",
RowBox[{"A", "\[Rule]", "0"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "SubVarLineBundleCohom", "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"2", ";;", "3"}], "]"}], "]"}], "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"#", "+", "1"}], "]"}], "]"}], "*",
RowBox[{"Power", "[",
RowBox[{"E", ",", "1"}],
RowBox[{"(*",
RowBox[{"#", "-", "1"}], "*)"}], "]"}]}], "&"}], ",",
"2"}],
RowBox[{"(*",
RowBox[{"Length", "[", "SubVarLineBundleCohom", "]"}],
"*)"}], "]"}]}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "=",
RowBox[{"Flatten", "[",
RowBox[{"WorkingVector", "/.", "Solution"}], "]"}]}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "Positions", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Index", "++"}], ";", "\[IndentingNewLine]",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"Positions", "[",
RowBox[{"[",
RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "=",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"Positions", "[",
RowBox[{"[",
RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "+",
SubscriptBox["A", "Index"]}]}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"Positions", "[",
RowBox[{"[",
RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "=",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"Positions", "[",
RowBox[{"[",
RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "+",
SubscriptBox["A", "Index"]}]}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"2", ";;", "3"}], "]"}], "]"}], "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"#", "+", "1"}], "]"}], "]"}], "*",
RowBox[{"Power", "[",
RowBox[{"E", ",", "#"}], "]"}]}], "&"}], ",", "2"}],
RowBox[{"(*",
RowBox[{"Length", "[", "SubVarLineBundleCohom", "]"}],
"*)"}], "]"}]}]}]}], "\[IndentingNewLine]", "]"}], ";"}],
"\[IndentingNewLine]", "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"SearchForTwisted", "\[Equal]", "2"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Positions", "=",
RowBox[{"Position", "[",
RowBox[{"SubVarLineBundleCohom", ",", "Pi"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"2", ";;", "2"}], "]"}], "]"}], "=",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"2", ";;", "2"}], "]"}], "]"}], "/.",
RowBox[{"Pi", "\[Rule]", "E"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"DimComplInters", ";;", "DimComplInters"}], "]"}],
"]"}], "=",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"DimComplInters", ";;", "DimComplInters"}], "]"}],
"]"}], "/.",
RowBox[{"Pi", "\[Rule]",
RowBox[{"E", "^", "I"}]}]}]}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"SubVarLineBundleCohom", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[", "#", "]"}], "]"}], "*",
RowBox[{"Power", "[",
RowBox[{"E", ",",
RowBox[{"#", "-", "1"}]}], "]"}]}], "&"}], ",",
RowBox[{"Length", "[", "SubVarLineBundleCohom", "]"}]}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"SubVarLineBundleCohom", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[", "#", "]"}], "]"}], "*",
RowBox[{"Power", "[",
RowBox[{"E", ",",
RowBox[{"#", "-", "1"}]}], "]"}]}], "&"}], ",",
RowBox[{"Length", "[", "SubVarLineBundleCohom", "]"}]}],
"]"}]}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[",
RowBox[{"1", ";;", "2"}], "]"}], "]"}], "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[", "#", "]"}], "]"}], "&"}], ",", "2"}], "]"}]}],
";", "\[IndentingNewLine]",
RowBox[{"SubVarLineBundleCohom", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[", "#", "]"}], "]"}], "*",
RowBox[{"Power", "[",
RowBox[{"E", ",",
RowBox[{"#", "-", "1"}]}], "]"}]}], "&"}], ",",
RowBox[{"Length", "[", "SubVarLineBundleCohom", "]"}]}],
"]"}]}], ";"}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"AppendTo", "[",
RowBox[{"KoszuledLineBundleList", ",",
RowBox[{"{",
RowBox[{
"LineBundle", ",", "SubVarLineBundleCohom", ",",
"NumberOfLineBundlesNeededTmp"}], "}"}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"check", " ", "holomorphic", " ", "euler", " ", "characteristic"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"CheckEuler", "&&",
RowBox[{"!",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[", "1", "]"}], "]"}]}]}], ",", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"linebdldivisor", "=",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{
RowBox[{"LineBundle", "[",
RowBox[{"[", "i", "]"}], "]"}], "*",
RowBox[{"PicardGenerator", "[",
RowBox[{"[", "i", "]"}], "]"}]}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "LineBundle", "]"}]}], "}"}]}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"Print", "[", "linebdldivisor", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{
RowBox[{"linebdldivisor", "=",
RowBox[{"ConvertDivisorsToPicardGenerators", "[",
RowBox[{"AmbientSpace", ",", "LineBundle"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "linebdldivisor", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"cohomCalgEuler", "=",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{
RowBox[{"SubVarLineBundleCohom", "[",
RowBox[{"[", "i", "]"}], "]"}], "*",
RowBox[{"Power", "[",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"i", "-", "1"}]}], "]"}]}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "SubVarLineBundleCohom", "]"}]}],
"}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"TrueEuler", "=",
RowBox[{"OutputLineBdlData", "[",
RowBox[{
"\"\\"", ",", "subvarch", ",", "restrictedrules",
",", "subvardim", ",", "linebdldivisor"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "TrueEuler", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "SubVarLineBundleCohom", "]"}], ";"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "cohomCalgEuler", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"IsCalabiYau", "[", "subvarch", "]"}]}], ",",
RowBox[{
"Print", "[", "\"\\"",
"]"}]}], "]"}], ";", "\[IndentingNewLine]",
RowBox[{"subvareulerchar", "=",
RowBox[{"EulerChar", "[",
RowBox[{"subvarch", ",", "restrictedrules"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",",
"subvareulerchar", ",", "\"\< = \>\"", ",",
RowBox[{"N", "[", "subvareulerchar", "]"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"CoordinateAnalysis", "[",
RowBox[{
RowBox[{"coordinates", "~", "Join", "~", "addbasedivname"}],
",",
RowBox[{"edgevals", "~", "Join", "~", "addbasedivisor"}], ",",
"subvarch", ",", "restrictedrules", ",", "picardgens", ",",
"subvardim", ",", "1"}], "]"}], ";"}], "\[IndentingNewLine]",
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"TrueEuler", "-", "cohomCalgEuler"}], "]"}], ";"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"TrueEuler", "-", "cohomCalgEuler"}], "\[NotEqual]",
"0"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "aaaaaaaaaaaaaaa", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"If", "[",
RowBox[{"TrackValue", ",",
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",", "eqns", ",",
"\"\< Line Bundle: \>\"", ",", "linebdldivisor", ",",
"\"\< = \>\"", ",",
"\"\< - Discrepancy in holomorphic Euler characteristic \
observed: \\n cohomCalg: \>\"", ",", "cohomCalgEuler", ",",
"\"\< Index Theorem: \>\"", ",", "TrueEuler"}], "]"}]}],
"]"}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"TrackValue", "=", "False"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"Return", "[", "SubVarLineBundleCohom", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Routine", " ", "to", " ", "convert", " ", "the", " ", "divisor", " ",
"charges", " ", "in", " ", "a", " ", "base", " ", "that", " ", "the",
" ", "holomorphic", " ", "euler", " ", "routine", " ", "can", " ",
"understand"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"GeneratePicardGenerators", "[", "AmbientSpace_", "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "Picards", ",", "ToricDivisor", ",", "Picard",
",", "Sol", ",",
RowBox[{"PicardGenerators", "=",
RowBox[{"{", "}"}]}]}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"ToricDivisor", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"ToricDivisor", "[",
RowBox[{"[", "i", "]"}], "]"}], "=", "1"}], ";",
"\[IndentingNewLine]",
RowBox[{"Picards", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
SubscriptBox["Picard", "#"], "&"}], ",",
RowBox[{"Length", " ", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Sol", "=",
RowBox[{"FindInstance", "[",
RowBox[{
RowBox[{
RowBox[{"Sum", "[",
RowBox[{
RowBox[{
RowBox[{"Picards", "[",
RowBox[{"[", "i", "]"}], "]"}], "*",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "i"}], "]"}], "]"}]}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "Picards", "]"}]}], "}"}]}], "]"}],
"\[Equal]", "ToricDivisor"}], ",", "Picards", ",",
"Integers"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{"PicardGenerators", ",",
RowBox[{"ConvertCoordsToDivClasses", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"Picards", "/.", "Sol"}], ")"}], "[",
RowBox[{"[", "1", "]"}], "]"}], ".",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}]}], "]"}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"Return", "[", "PicardGenerators", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Routine", " ", "to", " ", "convert", " ", "the", " ", "divisor", " ",
"charges", " ", "in", " ", "a", " ", "base", " ", "that", " ", "the",
" ", "holomorphic", " ", "euler", " ", "routine", " ", "can", " ",
"understand"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"ConvertDivisorsToPicardGenerators", "[",
RowBox[{"AmbientSpace_", ",", "LineBundle_"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "Sol", ",", "Picards", ",", "Picard", ",",
"PicardRep"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Picards", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"Picard", ",", "#"}], "]"}], "&"}], ",",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Sol", "=",
RowBox[{"FindInstance", "[",
RowBox[{
RowBox[{
RowBox[{"Sum", "[",
RowBox[{
RowBox[{
RowBox[{"Picards", "[",
RowBox[{"[", "i", "]"}], "]"}], "*",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "i"}], "]"}], "]"}]}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "Picards", "]"}]}], "}"}]}], "]"}],
"\[Equal]", "LineBundle"}], ",", "Picards", ",", "Integers"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"PicardRep", "=",
RowBox[{"ConvertCoordsToDivClasses", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"Picards", "/.", "Sol"}], ")"}], "[",
RowBox[{"[", "1", "]"}], "]"}], ".",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Return", "[", "PicardRep", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}]}], ";"}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
"Since", " ", "the", " ", "number", " ", "of", " ", "exact", " ",
"sequences", " ", "depends", " ", "on", " ", "the", " ", "number", " ",
"of", " ", "intersecting", " ", "hypersurfaces"}], ",", " ",
RowBox[{"we", " ", "use", " ", "a", " ", "recursion"}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"RecursivKoszul", "[",
RowBox[{
"ComplInters_", ",", "Dim_", ",", "LineBundle_", ",", "AmbientSpace_",
",", "CalculatedLineBundles_", ",", "RecursionNumber_"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "DimAmbientSpace", ",", "DimComplInters", ",",
"IntermediateLineBundleCohom", ",", "IntermediateLineBundle", ",",
"IntermediateLineBundleLabel", ",", "FinalLineBundleCohom", ",",
"FinalLineBundle", ",", "FinalLineBundleLable", ",",
"IntermediateSet", ",", "ThirdLabel", ",", "FinalSet", ",",
"CalculatedLineBundlesTMP", ",", "IntermediateLineBundleCohomArray",
",", "LastLabel", ",", "SecondLabel", ",", "CurrentDim"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"CalculatedLineBundlesTMP", "=", "CalculatedLineBundles"}],
";", "\[IndentingNewLine]",
RowBox[{"DimAmbientSpace", "=",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"DimComplInters", "=",
RowBox[{"DimAmbientSpace", "-",
RowBox[{"Length", "[", "ComplInters", "]"}]}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Test", " ", "if", " ", "we", " ", "arrived", " ", "at", " ", "the",
" ", "firs", " ", "exact", " ", "sequence", " ", "from", " ",
"equation", " ",
RowBox[{"(", "...", ")"}], " ",
RowBox[{"in", " ", "[", "...", "]"}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"RecursionNumber", "\[Equal]",
RowBox[{"Length", "[", "ComplInters", "]"}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"The", " ", "FinalSet", " ", "is", " ", "simply", " ", "the", " ",
"direct", " ", "sum", " ", "over", " ", "all", " ",
"hypersurfaces", " ", "from", " ", "which", " ", "we", " ", "have",
" ", "to", " ", "take", " ", "cohomology"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"FinalSet", "=",
RowBox[{"Subsets", "[",
RowBox[{"ComplInters", ",",
RowBox[{"{", "RecursionNumber", "}"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"FinalLineBundleCohom", "=", "\[IndentingNewLine]",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"ListOrLineBundleCohomologyOf", "[",
RowBox[{"AmbientSpace", ",",
RowBox[{
RowBox[{"-",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"FinalSet", "[",
RowBox[{"[",
RowBox[{"j", ",", "i"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[",
RowBox[{"FinalSet", "[",
RowBox[{"[", "j", "]"}], "]"}], "]"}]}], "}"}]}], "]"}]}],
"+", "LineBundle"}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"j", ",",
RowBox[{"Length", "[", "FinalSet", "]"}]}], "}"}]}], "]"}]}],
";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"This", " ", "intermediate", " ", "set", " ", "correspond", " ",
"the", " ", "second", " ", "part", " ", "of", " ", "the", " ",
"firs", " ", "exact", " ", "sequence", " ", "from", " ",
"equation", " ",
RowBox[{"(", "...", ")"}], " ",
RowBox[{"in", " ", "[", "...", "]"}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"IntermediateSet", "=",
RowBox[{"Subsets", "[",
RowBox[{"ComplInters", ",",
RowBox[{"{",
RowBox[{"RecursionNumber", "-", "1"}], "}"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"IntermediateLineBundleCohomArray", "=",
RowBox[{"Array", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"-",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"IntermediateSet", "[",
RowBox[{"[",
RowBox[{"#", ",", "i"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[",
RowBox[{"IntermediateSet", "[",
RowBox[{"[", "#", "]"}], "]"}], "]"}]}], "}"}]}], "]"}]}],
"+", "LineBundle"}], ",",
RowBox[{"ListOrLineBundleCohomologyOf", "[",
RowBox[{"AmbientSpace", ",",
RowBox[{
RowBox[{"-",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"IntermediateSet", "[",
RowBox[{"[",
RowBox[{"#", ",", "i"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[",
RowBox[{"IntermediateSet", "[",
RowBox[{"[", "#", "]"}], "]"}], "]"}]}], "}"}]}], "]"}]}],
"+", "LineBundle"}]}], "]"}]}], "}"}], "&"}], ",",
RowBox[{"Length", "[", "IntermediateSet", "]"}]}],
"\[IndentingNewLine]", "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Keep", " ", "calculated", " ", "LineBundles", " ", "in", " ",
"mind", " ", "in", " ", "order", " ", "to", " ", "print", " ",
"them", " ", "at", " ", "the", " ", "end", " ", "if", " ",
"requested"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"AppendTo", "[", "\[IndentingNewLine]",
RowBox[{"CalculatedLineBundlesTMP", ",", "\[IndentingNewLine]",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\< h_X(\>\"", ",",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"#", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], ",",
"\"\<) = (\>\"", ",",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"#", "[",
RowBox[{"[", "2", "]"}], "]"}], "]"}], ",", "\"\<)\>\""}],
"]"}], "&"}], ",",
RowBox[{"IntermediateLineBundleCohomArray", "/.",
RowBox[{"Pi", "\[Rule]", "1"}]}]}], "]"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"IntermediateLineBundleCohom", "=",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"IntermediateLineBundleCohomArray", "[",
RowBox[{"[",
RowBox[{"j", ",", "2"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"j", ",", "1", ",",
RowBox[{
"Length", "[", "IntermediateLineBundleCohomArray", "]"}]}],
"}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Labels", " ", "for", " ", "the", " ", "long", " ", "exact", " ",
"sequences"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"IntermediateLineBundleLabel", "=", "\"\<\>\""}], ";",
"\[IndentingNewLine]",
RowBox[{"FinalLineBundleLable", "=", "\"\<\>\""}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"ShowLongExactSequences", "\[Equal]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"IntermediateLineBundle", "=",
RowBox[{"IntermediateLineBundleCohomArray", "[",
RowBox[{"[",
RowBox[{"All", ",", "1"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"IntermediateLineBundleLabel", "=",
RowBox[{"GenerateSequenceLabelExtended", "[",
RowBox[{
RowBox[{"{",
RowBox[{"\"\<\>\"", ",", " ", "\"\<\>\""}], "}"}], ",",
"IntermediateLineBundle", ",", "\"\\"", ",",
"FancyOutput", ",", "3"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Same", " ", "for", " ", "the", " ", "other", " ", "label"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"FinalLineBundle", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"-",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"FinalSet", "[",
RowBox[{"[",
RowBox[{"#", ",", "i"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[",
RowBox[{"FinalSet", "[",
RowBox[{"[", "#", "]"}], "]"}], "]"}]}], "}"}]}], "]"}]}],
"+", "LineBundle"}], "&"}], ",",
RowBox[{"Length", "[", "FinalSet", "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"FinalLineBundleLable", "=",
RowBox[{"GenerateSequenceLabelExtended", "[",
RowBox[{
RowBox[{"{",
RowBox[{"\"\<\>\"", ",", "\"\<\>\""}], "}"}], ",",
"FinalLineBundle", ",", "\"\\"", ",", "FancyOutput", ",",
"3"}], "]"}]}], ";"}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Print", " ", "the", " ", "line", " ", "bundle", " ",
"cohomologies", " ", "in", " ", "the", " ", "direct", " ",
"sums"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"ShowLongExactSequences", "\[Equal]", "1"}], " ", "&&",
" ",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"DeleteDuplicates", "[",
RowBox[{"Flatten", "[", "CalculatedLineBundlesTMP", "]"}],
"]"}], "]"}], ">", "1"}]}], ",",
RowBox[{"Print", "[", "\[IndentingNewLine]",
RowBox[{
"\"\\"", ",", "\[IndentingNewLine]",
RowBox[{"Flatten", "[", "CalculatedLineBundlesTMP", "]"}], ",",
"\"\<\\n\>\""}], "]"}]}], "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Calcuating", " ", "the", " ", "last", " ", "missing", " ",
"column", " ", "in", " ", "the", " ", "first", " ", "exact", " ",
"sequence"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], "\[NotEqual]",
"1"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"CurrentDim", "=", "Dim"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FancyOutput", "\[Equal]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{"LastLabel", "=", " ",
RowBox[{"Subscript", "[",
RowBox[{"\"\<\[ScriptCapitalI]\>\"", ",",
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], "-",
"RecursionNumber", "+", "1"}]}], "]"}]}], ",",
"\[IndentingNewLine]",
RowBox[{"LastLabel", "=", " ",
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{"ToString", "[",
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], "-",
"RecursionNumber", "+", "1"}], "]"}]}], "]"}]}]}],
"\[IndentingNewLine]", "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"CurrentDim", "=", "DimComplInters"}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FancyOutput", "\[Equal]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{"LastLabel", "=",
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{
"ListToStringWithoutBracket", "[", "LineBundle", "]"}],
"]"}]}], ",", "\[IndentingNewLine]",
RowBox[{"LastLabel", "=",
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{
"ListToStringWithoutBracket", "[", "LineBundle", "]"}],
",", "\"\<) \>\""}], "]"}]}]}], "\[IndentingNewLine]",
"]"}], ";"}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{
"ThirdVectorFromLongExactSequenceLabeled", "[",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"FinalLineBundleCohom", ",", "FinalLineBundleLable"}],
"}"}], ",", "\[IndentingNewLine]",
RowBox[{"{",
RowBox[{
"IntermediateLineBundleCohom", ",",
"IntermediateLineBundleLabel"}], "}"}], ",",
"\[IndentingNewLine]", "LastLabel", ",", "3", ",", "CurrentDim",
",",
RowBox[{"{", "}"}]}], "]"}], "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"If", " ", "the", " ", "first", " ", "exact", " ", "squence", " ",
"is", " ", "not", " ", "jet", " ", "reached", " ", "we", " ",
"end", " ", "up", " ", "here"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"The", " ", "second", " ", "part", " ", "of", " ", "the", " ",
"corresponding", " ", "short", " ", "exact", " ", "sequence", " ",
"depends", " ", "on", " ", "in", " ", "which", " ", "row", " ",
"of", " ",
RowBox[{"(", "...", ")"}], " ",
RowBox[{"in", " ", "[", "...", "]"}], " ", "we", " ", "are", " ",
"and", " ", "therefore", " ", "on", " ", "the", " ",
"RecursionNumber"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"IntermediateSet", "=",
RowBox[{"Subsets", "[",
RowBox[{"ComplInters", ",",
RowBox[{"{",
RowBox[{"RecursionNumber", "-", "1"}], "}"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"IntermediateLineBundleCohomArray", "=",
RowBox[{"Array", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"-",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"IntermediateSet", "[",
RowBox[{"[",
RowBox[{"#", ",", "i"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[",
RowBox[{"IntermediateSet", "[",
RowBox[{"[", "#", "]"}], "]"}], "]"}]}], "}"}]}], "]"}]}],
"+", "LineBundle"}], ",",
RowBox[{"ListOrLineBundleCohomologyOf", "[",
RowBox[{"AmbientSpace", ",",
RowBox[{
RowBox[{"-",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"IntermediateSet", "[",
RowBox[{"[",
RowBox[{"#", ",", "i"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[",
RowBox[{"IntermediateSet", "[",
RowBox[{"[", "#", "]"}], "]"}], "]"}]}], "}"}]}], "]"}]}],
"+", "LineBundle"}]}], "]"}]}], "}"}], "&"}], ",",
RowBox[{"Length", "[", "IntermediateSet", "]"}]}],
"\[IndentingNewLine]", "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"IntermediateLineBundleCohom", "=",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"IntermediateLineBundleCohomArray", "[",
RowBox[{"[",
RowBox[{"j", ",", "2"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"j", ",", "1", ",",
RowBox[{
"Length", "[", "IntermediateLineBundleCohomArray", "]"}]}],
"}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Creat", " ", "labels", " ", "for", " ", "the", " ", "long", " ",
"exact", " ", "sequences", " ", "as", " ", "above"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"IntermediateLineBundleLabel", "=", "\"\<\>\""}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"ShowLongExactSequences", "\[Equal]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"IntermediateLineBundle", "=",
RowBox[{"Array", "[", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"-",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"IntermediateSet", "[",
RowBox[{"[",
RowBox[{"#", ",", "i"}], "]"}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[",
RowBox[{"IntermediateSet", "[",
RowBox[{"[", "#", "]"}], "]"}], "]"}]}], "}"}]}], "]"}]}],
"+", "LineBundle"}], "&"}], ",",
RowBox[{"Length", "[", "IntermediateSet", "]"}]}], "]"}]}],
";", "\[IndentingNewLine]",
RowBox[{"IntermediateLineBundleLabel", "=",
RowBox[{"GenerateSequenceLabelExtended", "[",
RowBox[{
RowBox[{"{",
RowBox[{"\"\<\>\"", ",", "\"\<\>\""}], "}"}], ",",
"IntermediateLineBundle", ",", "\"\\"", ",",
"FancyOutput", ",", "3"}], "]"}]}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Only", " ", "for", " ", "the", " ", "last", " ", "row", " ", "in",
" ",
RowBox[{"(", "...", ")"}], " ",
RowBox[{"from", " ", "[", "...", "]"}], " ", "we", " ", "have",
" ", "a", " ", "different", " ", "labeling"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"RecursionNumber", "\[Equal]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"CurrentDim", "=", "DimComplInters"}], ";",
"\[IndentingNewLine]",
RowBox[{"ThirdLabel", "=",
RowBox[{"GenerateSequenceLabelExtended", "[",
RowBox[{
RowBox[{"{",
RowBox[{"\"\<\>\"", ",", "\"\<\>\""}], "}"}], ",",
RowBox[{"{", "LineBundle", "}"}], ",", "\"\\"", ",",
"FancyOutput", ",", "3"}], "]"}]}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{
"ListToStringWithoutBracket", "[", "LineBundle", "]"}], ",",
"\"\<) \>\""}], "]"}], ","}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"CurrentDim", "=", "Dim"}], ";", "\[IndentingNewLine]",
RowBox[{"AppendTo", "[", "\[IndentingNewLine]",
RowBox[{"CalculatedLineBundlesTMP", ",", "\[IndentingNewLine]",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\< O_X(\>\"", ",",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"#", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], ",",
"\"\<) = (\>\"", ",",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"#", "[",
RowBox[{"[", "2", "]"}], "]"}], "]"}], ",", "\"\<)\>\""}],
"]"}], "&"}], ",",
RowBox[{"IntermediateLineBundleCohomArray", "/.",
RowBox[{"Pi", "\[Rule]", "1"}]}]}], "]"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FancyOutput", "\[Equal]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{"ThirdLabel", "=", " ",
RowBox[{"Subscript", "[",
RowBox[{"\"\<\[ScriptCapitalI]\>\"", ",",
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], "-",
"RecursionNumber", "+", "1"}]}], "]"}]}], ",",
"\[IndentingNewLine]",
RowBox[{"ThirdLabel", "=", " ",
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{"ToString", "[",
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], "-",
"RecursionNumber", "+", "1"}], "]"}]}], "]"}]}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FancyOutput", "\[Equal]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{"SecondLabel", "=", " ",
RowBox[{"Subscript", "[",
RowBox[{"\"\<\[ScriptCapitalI]\>\"", ",",
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], "-",
"RecursionNumber"}]}], "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{"SecondLabel", "=", " ",
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{"ToString", "[",
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], "-",
"RecursionNumber"}], "]"}]}], "]"}]}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Start", " ", "of", " ", "the", " ", "recursion", " ", "of", " ",
"this", " ", "routine", " ", "with", " ", "date", " ", "for", " ",
"the", " ", "next", " ", "row", " ", "counted", " ", "from", " ",
"the", " ", "bottom", " ", "to", " ", "the", " ", "top", " ",
"in", " ",
RowBox[{"(", "...", ")"}], " ",
RowBox[{"from", " ", "[", "...", "]"}]}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"Return", "[", "\[IndentingNewLine]",
RowBox[{
"ThirdVectorFromLongExactSequenceLabeled", "[",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"RecursivKoszul", "[",
RowBox[{
"ComplInters", ",", "DimAmbientSpace", ",", "LineBundle", ",",
"AmbientSpace", ",", "CalculatedLineBundlesTMP", ",",
RowBox[{"RecursionNumber", "+", "1"}]}], "]"}], ",",
"\[IndentingNewLine]", "SecondLabel"}],
RowBox[{"(*",
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{"ToString", "[",
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], "-",
"RecursionNumber"}], "]"}], ",", "\"\<)\>\""}], "]"}],
"*)"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"{",
RowBox[{
"IntermediateLineBundleCohom", ",",
"IntermediateLineBundleLabel"}], "}"}], ",",
"\[IndentingNewLine]", "ThirdLabel", ",", "\[IndentingNewLine]",
"3", ",", "CurrentDim", ",",
RowBox[{"{", "}"}]}], "]"}], "]"}]}]}], "\[IndentingNewLine]",
"]"}]}]}], "\[IndentingNewLine]", "]"}]}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Routine", " ", "that", " ", "generates", " ", "the", " ", "labels", " ",
"for", " ", "the", " ", "long", " ", "exact", " ", "sequences"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Make", " ", "\\\\", "oplus", " ", "commutative"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SetAttributes", "[",
RowBox[{"CirclePlus", ",", "Flat"}], "]"}], ";"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
"As", " ", "Input", " ", "is", " ", "first", " ", "the", " ", "heading",
" ", "in", " ", "both", " ", "versions"}], ",", " ",
RowBox[{
"then", " ", "the", " ", "line", " ", "bundle", " ", "list", " ", "the",
" ", "letter", " ", "for", " ", "the", " ",
RowBox[{"variety", ".", " ", "HeadingsOption"}], " ", "is", " ", "for",
" ", "the", " ", "choice", " ", "of", " ", "the", " ", "heading", " ",
"one", " ", "wants", " ", "to", " ", "have"}]}], " ", "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"GenerateSequenceLabelExtended", "[",
RowBox[{
"Heading_", ",", "InList_", ",", "Variety_", ",", "Fancy_", ",",
"HeadingsOption_"}], "]"}], ":=",
RowBox[{"Module", "[",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "FancyInList", ",", "DirectSum", ",",
"ListWithMulitCounting", ",", "PositionTmp"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"ListWithMulitCounting", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"InList", "\[Equal]",
RowBox[{"{", "}"}]}], ",",
RowBox[{"DirectSum", "=", "\"\<\>\""}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "InList", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"PositionTmp", "=",
RowBox[{"Position", "[",
RowBox[{"ListWithMulitCounting", ",",
RowBox[{"InList", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"PositionTmp", "\[NotEqual]",
RowBox[{"{", "}"}]}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "PositionTmp", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"ListWithMulitCounting", "[",
RowBox[{"[",
RowBox[{
RowBox[{"PositionTmp", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], ",", "2"}], "]"}],
"]"}], "++"}], "\[IndentingNewLine]", ",",
"\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{"ListWithMulitCounting", ",",
RowBox[{"{",
RowBox[{
RowBox[{"InList", "[",
RowBox[{"[", "i", "]"}], "]"}], ",", "1"}], "}"}]}],
"]"}]}], "\[IndentingNewLine]", "]"}]}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"Fancy", "\[Equal]", "1"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"FancyInList", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "ListWithMulitCounting", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"ListWithMulitCounting", "[",
RowBox[{"[",
RowBox[{"i", ",", "2"}], "]"}], "]"}], "\[Equal]", "1"}],
",", "\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{"FancyInList", ",",
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"\"\< \[ScriptCapitalO]\>\"", ",", "Variety"}],
"]"}], "[",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"ListWithMulitCounting", "[",
RowBox[{"[",
RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}],
"]"}], ",", "\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{"FancyInList", ",",
RowBox[{"Superscript", "[",
RowBox[{
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"\"\< \[ScriptCapitalO]\>\"", ",", "Variety"}],
"]"}], "[",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"ListWithMulitCounting", "[",
RowBox[{"[",
RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], ",",
RowBox[{"CirclePlus", "[",
RowBox[{"\"\<\>\"", ",",
RowBox[{"ListWithMulitCounting", "[",
RowBox[{"[",
RowBox[{"i", ",", "2"}], "]"}], "]"}]}], "]"}]}], "]"}]}],
"]"}]}], "\[IndentingNewLine]", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"DirectSum", "=",
RowBox[{"FancyInList", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "2"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "FancyInList", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{"DirectSum", "=",
RowBox[{"CirclePlus", "[",
RowBox[{"DirectSum", ",",
RowBox[{"FancyInList", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}]}]}],
"\[IndentingNewLine]", "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"DirectSum", "=",
RowBox[{"StringJoin", "[",
RowBox[{"\"\< O_\>\"", ",", "Variety", ",", "\"\<(\>\"", ",",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"InList", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], ",", "\"\<)\>\""}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"j", "=", "1"}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "2"}], ",",
RowBox[{"i", "\[LessEqual]",
RowBox[{"Length", "[", "InList", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"StringLength", "[", "DirectSum", "]"}],
"\[GreaterEqual]",
RowBox[{"j", "*", "40"}]}], ",",
RowBox[{
RowBox[{"DirectSum", "=",
RowBox[{"StringJoin", "[",
RowBox[{"DirectSum", ",", "\"\<\\n\>\""}], "]"}]}], ";",
RowBox[{"j", "++"}]}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"DirectSum", "=",
RowBox[{"StringJoin", "[",
RowBox[{"DirectSum", ",",
RowBox[{"StringJoin", "[",
RowBox[{
"\"\< + O_\>\"", ",", "Variety", ",", "\"\<(\>\"", ",",
RowBox[{"ListToStringWithoutBracket", "[",
RowBox[{"InList", "[",
RowBox[{"[", "i", "]"}], "]"}], "]"}], ",", "\"\<)\>\""}],
"]"}]}], "]"}]}]}]}], "\[IndentingNewLine]", "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"StringJoin", "[",
RowBox[{"DirectSum", ",", "\"\< \>\""}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "=", " ",
RowBox[{
"0", " ", "only", " ", "returns", " ", "the", " ", "standard", " ",
"text", " ", "heading", " ", "back"}]}], " ", "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"HeadingsOption", "\[Equal]", "0"}], ",",
"\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"Style", "[",
RowBox[{
RowBox[{"Heading", "[",
RowBox[{"[",
RowBox[{"2", "-", "Fancy"}], "]"}], "]"}], ",",
RowBox[{"FontSize", "\[Rule]", "LESFontSize"}]}], "]"}], "]"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "=", " ",
RowBox[{
"1", " ", "returns", " ", "the", " ", "standard", " ", "text", " ",
"Heading", " ", "together", " ", "with", " ", "the", " ", "list",
" ", "of", " ", "line", " ", "bundles", " ", "corresponding", " ",
"to", " ", "InList"}]}], " ", "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"HeadingsOption", "\[Equal]", "1"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{"InList", "\[Equal]",
RowBox[{"{", "}"}]}], ",", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"TableForm", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"\"\<\>\"", ",",
RowBox[{"Style", "[",
RowBox[{
RowBox[{"Heading", "[",
RowBox[{"[",
RowBox[{"2", "-", "Fancy"}], "]"}], "]"}], ",",
RowBox[{"FontSize", "\[Rule]", "LESFontSize"}]}], "]"}],
",", "\"\<\>\""}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"TableAlignments", "\[Rule]", "Center"}], ",",
RowBox[{"TableSpacing", "\[Rule]",
RowBox[{"{", "1", "}"}]}]}], "]"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"TableForm", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Style", "[",
RowBox[{
RowBox[{"Heading", "[",
RowBox[{"[",
RowBox[{"2", "-", "Fancy"}], "]"}], "]"}], ",",
RowBox[{"FontSize", "\[Rule]", "LESFontSize"}]}], "]"}],
",", "DirectSum"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"TableAlignments", "\[Rule]", "Center"}], ",",
RowBox[{"TableSpacing", "\[Rule]",
RowBox[{"{", "3", "}"}]}]}], "]"}], "]"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "=", " ",
RowBox[{
"2", " ", "returns", " ", "the", " ", "standard", " ", "text", " ",
"heading", " ", "together", " ", "with", " ", "the", " ", "a", " ",
"space", " ", "above", " ", "and", " ", "underneath"}]}], " ",
"*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"HeadingsOption", "\[Equal]", "2"}], ",",
"\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"TableForm", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"\"\<\>\"", ",",
RowBox[{"Style", "[",
RowBox[{
RowBox[{"Heading", "[",
RowBox[{"[",
RowBox[{"2", "-", "Fancy"}], "]"}], "]"}], ",",
RowBox[{"FontSize", "\[Rule]", "LESFontSize"}]}], "]"}],
",", "\"\<\>\""}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"TableAlignments", "\[Rule]", "Center"}], ",",
RowBox[{"TableSpacing", "\[Rule]",
RowBox[{"{", "1", "}"}]}]}], "]"}], "]"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "=", " ",
RowBox[{
"2", " ", "only", " ", "returns", " ", "the", " ", "list", " ",
"of", " ", "line", " ", "bundles", " ", "corresponding", " ", "to",
" ", "InList"}]}], " ", "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"HeadingsOption", "\[Equal]", "3"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"Return", "[", "DirectSum", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}]}], ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Main", " ", "routine"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"CohomologyOf", "[",
RowBox[{"BundleType_", ",", "AmbientSpace_", ",", "ComplIntersIn_", ",",
RowBox[{"Optional1_:", "\"\\""}], ",",
RowBox[{"Optional2_:", "\"\\""}], ",",
RowBox[{"Optional3_:", "\"\\""}], ",",
RowBox[{"Optional4_:", "\"\\""}], ",",
RowBox[{"Optional4_:", "\"\\""}]}], "]"}], ":=",
RowBox[{"Module", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"i", ",", "VerboseLevel", ",",
RowBox[{"FancyOutput", "=", "1"}], ",", "EarlyTime", ",",
"PossibleOptionalInputs", ",",
RowBox[{"Type", "=", "\"\\""}], ",",
RowBox[{"VerboseLevelIn", "=", "\"\\""}], ",",
RowBox[{"FancyOutputIn", "=", "\"\\""}], ",",
RowBox[{"SearchForTwistedIn", "=", "0"}], ",", "OptionalInput", ",",
"SFT"}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"List", " ", "of", " ", "lists", " ", "of", " ", "possible", " ",
"optional", " ", "input", " ", "strings"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"EarlyTime", "=",
RowBox[{"DateList", "[", "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"PossibleOptionalInputs", "=",
RowBox[{"{", "\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{
"\"\\"", ",", "\"\\"", ",",
"\"\\"", ",", "\"\\"", ",", "\"\\"",
",", "\"\\"", ",", "\"\\""}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"{",
RowBox[{
"\"\\"", ",", "\"\\"", ",",
"\"\\"", ",", "\"\\"", ",",
"\"\\"", ",", "\"\\"", ",",
"\"\\"", ",", "\"\\"", ",",
"\"\\"", ",", "\"\\"", ",",
"\"\\""}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"{",
RowBox[{
"\"\\"", ",", "\"\\"", ",",
"\"\\""}], "}"}], ",", " ", "\[IndentingNewLine]",
RowBox[{"{",
RowBox[{
"\"\\"", ",", "\"\\"", ",", "\"\\"", ",",
"\"\\""}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"{", "\"\\"", "}"}]}],
"\[IndentingNewLine]", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"OptionalInput", "=",
RowBox[{"{",
RowBox[{
"Optional1", ",", "Optional2", ",", "Optional3", ",", "Optional4"}],
"}"}]}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Collect", " ", "the", " ", "optional", " ", "input"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]", "4"}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"OptionalInput", "[",
RowBox[{"[", "i", "]"}], "]"}], "\[Equal]",
"\"\\""}], ",",
RowBox[{"i", "=", "5"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
RowBox[{"ToUpperCase", "[", "PossibleOptionalInputs", "]"}],
",", "\"\<,\>\"", ",",
RowBox[{"ToUpperCase", "[",
RowBox[{"OptionalInput", "[",
RowBox[{"[", "i", "]"}], "]"}], "]"}]}], "]"}], ";"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Position", "[",
RowBox[{
RowBox[{
"ToUpperCase", "[", "PossibleOptionalInputs", "]"}], ",",
RowBox[{"ToUpperCase", "[",
RowBox[{"OptionalInput", "[",
RowBox[{"[", "i", "]"}], "]"}], "]"}]}], "]"}],
"\[NotEqual]",
RowBox[{"{", "}"}]}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"tmpPosition", "=",
RowBox[{"Position", "[",
RowBox[{
RowBox[{
"ToUpperCase", "[", "PossibleOptionalInputs", "]"}], ",",
RowBox[{"ToUpperCase", "[",
RowBox[{"OptionalInput", "[",
RowBox[{"[", "i", "]"}], "]"}], "]"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "tmpPosition", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"tmpPosition", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "\[Equal]", "1"}],
",",
RowBox[{"Type", "=",
RowBox[{"PossibleOptionalInputs", "[",
RowBox[{"[",
RowBox[{"1", ",",
RowBox[{"tmpPosition", "[",
RowBox[{"[",
RowBox[{"1", ",", "2"}], "]"}], "]"}]}], "]"}], "]"}]}]}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"tmpPosition", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "\[Equal]", "2"}],
",",
RowBox[{"VerboseLevelIn", "=",
RowBox[{"PossibleOptionalInputs", "[",
RowBox[{"[",
RowBox[{"2", ",",
RowBox[{"tmpPosition", "[",
RowBox[{"[",
RowBox[{"1", ",", "2"}], "]"}], "]"}]}], "]"}], "]"}]}]}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"tmpPosition", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "\[Equal]", "3"}],
",",
RowBox[{"FancyOutputIn", "=",
RowBox[{"PossibleOptionalInputs", "[",
RowBox[{"[",
RowBox[{"3", ",",
RowBox[{"tmpPosition", "[",
RowBox[{"[",
RowBox[{"1", ",", "2"}], "]"}], "]"}]}], "]"}], "]"}]}]}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"tmpPosition", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], "\[Equal]", "4"}],
",",
RowBox[{"SearchForTwistedIn", "=",
RowBox[{"ToExpression", "[",
RowBox[{"PossibleOptionalInputs", "[",
RowBox[{"[",
RowBox[{"4", ",",
RowBox[{"tmpPosition", "[",
RowBox[{"[",
RowBox[{"1", ",", "2"}], "]"}], "]"}]}], "]"}], "]"}],
"]"}]}]}], "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"Print", "[",
RowBox[{"\"\<~~~~~~~~Error: \\\"\>\"", ",",
RowBox[{"OptionalInput", "[",
RowBox[{"[", "i", "]"}], "]"}], ",",
"\"\<\\\" is not a valid optional input string. \
cohomCalg ++Koszul extension will IGNORE it and continue......\>\""}], "]"}],
";"}]}], "\[IndentingNewLine]", "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
"Type", ",", "\"\< \>\"", ",", "VerboseLevelIn", ",", "\"\< \>\"",
",", "FancyOutputIn", ",", "\"\< \>\"", ",",
"SearchForTwistedIn"}], "]"}], ";"}], "*)"}],
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FancyOutputIn", "\[Equal]", "\"\\""}], ",",
RowBox[{"FancyOutput", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=",
RowBox[{"-", "1"}]}], ",",
RowBox[{"i", "\[LessEqual]", "10"}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
RowBox[{"ToUpperCase", "[", "VerboseLevelIn", "]"}], ",",
"\"\<\[Equal]\>\"", ",",
RowBox[{"ToUpperCase", "[",
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{"ToString", "[", "i", "]"}]}], "]"}], "]"}]}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"ToUpperCase", "[", "VerboseLevelIn", "]"}], "\[Equal]",
RowBox[{"ToUpperCase", "[",
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{"ToString", "[", "i", "]"}]}], "]"}], "]"}]}], ",",
RowBox[{
RowBox[{"VerboseLevel", "=", "i"}], ";",
RowBox[{"i", "=", "12"}]}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"i", "\[Equal]", "11"}], ",",
RowBox[{
RowBox[{
"Print", "[",
"\"\\"", "]"}],
";",
RowBox[{"Return", "[", "]"}], ";"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "ComplIntersIn", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "1", "]"}], "]"}], "=", "0"}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}], "=", "0"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{
"BundleType", "\[NotEqual]", "\"\\""}], "&&",
RowBox[{
"BundleType", "\[NotEqual]", "\"\\""}]}],
",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Start", " ", "the", " ", "full", " ", "program", " ", "once", " ",
"in", " ", "order", " ", "to", " ", "collect", " ", "line", " ",
"bundles"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCollector", "=",
RowBox[{"{", "True", "}"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"StartCohomologyOf", "[",
RowBox[{
"False", ",", "BundleType", ",", "AmbientSpace", ",",
"ComplIntersIn", ",", "Type", ",",
RowBox[{"(*", "\"\\"", "*)"}],
RowBox[{"-", "1"}], ",",
RowBox[{"(*", "FancyOutput", "*)"}], "0", ",",
RowBox[{"(*", "\"\\"", "*)"}], "0", ",", "EarlyTime"}],
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Calculate", " ", "all", " ", "collected", " ", "line", " ",
"bundles"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "LineBundleCollector", "]"}], ";"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"LineBundleCollector", "=",
RowBox[{"DeleteDuplicates", "[", "LineBundleCollector", "]"}]}],
";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "LineBundleCollector", "]"}], ";"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "LineBundleCollector", "]"}], ";"}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"LineBundleCollector", "=",
RowBox[{"Delete", "[",
RowBox[{"LineBundleCollector", ",", "1"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "LineBundleCollector", "]"}], ";"}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "1", "]"}], "]"}], "=",
RowBox[{"Length", "[", "LineBundleCollector", "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "3", "]"}], "]"}], "=",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "3", "]"}], "]"}], "+",
RowBox[{"Length", "[", "LineBundleCollector", "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "4", "]"}], "]"}], "=",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "4", "]"}], "]"}], "+",
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}]}]}], ";", "\[IndentingNewLine]",
RowBox[{
RowBox[{"LineBundleCounter", "[",
RowBox[{"[", "2", "]"}], "]"}], "=", "0"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"CalculateListOfLineBundles", "[",
RowBox[{
"AmbientSpace", ",", "LineBundleCollector", ",", "BundleNumber"}],
"]"}], ";"}]}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[", "LineBundleCollector", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"LineBundleCollector", "=",
RowBox[{"{", "False", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], "*)"}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Start", " ", "program", " ", "again", " ", "in", " ", "order", " ",
"to", " ", "calculate", " ", "sequences"}], "*)"}],
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"Return", "[",
RowBox[{"StartCohomologyOf", "[",
RowBox[{
"False", ",", "BundleType", ",", "AmbientSpace", ",",
"ComplIntersIn", ",", "Type", ",", "VerboseLevel", ",",
"FancyOutput", ",", "SearchForTwistedIn", ",", "EarlyTime"}],
"]"}], "]"}], ";"}]}], "\[IndentingNewLine]", "]"}]}], ";"}],
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"StartCohomologyOf", "[",
RowBox[{
"HodgeCalculation_", ",", "BundleType_", ",", "AmbientSpace_", ",",
"ComplIntersIn_", ",", "Type_", ",", "VerboseLevel_", ",",
"FancyOutputIn_", ",", "SearchForTwistedIn_", ",",
RowBox[{"EarlyTime_:", "0"}]}], "]"}], ":=",
RowBox[{"Module", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{
"i", ",", "j", ",", "r", ",", "V", ",", "ReturnCohomology", ",",
"PrintCohomology", ",",
RowBox[{"(*",
RowBox[{"EarlyTime", ","}], "*)"}], "LateTime", ",",
"DimComplInters", ",", "DimAmbientSpace", ",", "ComplInters", ",",
"VectorBundleCharges", ",", "VectorBundleConstraints", ",",
"CheckData", ",", "ShowKoszul", ",", "ShowLES", ",", "LineBundle",
",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Equivariant", " ", "Line", " ", "Bundle"}], "*)"}],
"ReturnCohomologyPlus", ",", "ReturnCohomologyMinus", ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Lambda", "^", "0"}], " ", "tangent", " ", "bundle", " ",
"variables"}], "*)"}], "Lambda0CotangentBundleCohomology", ",",
"CalabiYauRestrictions", ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Other", " ", "Monad", " ", "Bundle"}], "*)"}],
"DualExactMonadBundleCohomology", ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Monad", " ", "bundle", " ", "variables"}], "*)"}],
"AuxiliaryBundle", ",", "CotangentBundelCohomology", ",",
"EulerBundles11", ",", "EulerBundles12", ",", "Vector1", ",",
"Vector2", ",", "LabelEuler11", ",", "LabelEuler12", ",",
"LabelEuler13", ",", "Euler21Array", ",", "Euler21", ",",
"LabelEuler21", ",", "LabelEuler23", ",", "VbConstrString", ",",
"VbChargesString", ",", "nV", ",", "rV", ",", "ShowSpecialLES", ",",
"HeadingsOption", ",", "VBr", ",", "lV", ",", "Euler11Label", ",",
"Euler12Label", ",", "Euler13Label", ",", "ODiDjSubsets", ",",
"ODiDjArray", ",", "ODiDj", ",", "ODiDjLabel", ",", "Vector2Label",
",", "AuxiliaryBundleQ1Label", ",", "AuxiliaryBundleQ1", ",",
"Lambda2AuxiliaryBundleLabel", ",", "Lambda2AuxiliaryBundle", ",",
"OSmSimDk", ",", "OSmSimDkSubsets", ",", "OSmSimDkArray", ",",
"Vector2Array", ",", "OSmSimDkLabel", ",",
"TensorProductAuxiliaryBundleLabel", ",",
"TensorProductAuxiliaryBundle", ",", "OSmSimSj", ",",
"OSmSimSjArray", ",", "OSmSimSjLabel", ",",
"TensorProductOmega1Label", ",", "TensorProductOmega1", ",",
"OSmSimSj2", ",", "OSmSimSj2Array", ",", "OSmSimSj2Label", ",",
"AuxBundleQ2Label", ",", "AuxBundleQ2", ",", "Lambda2OmegaLabel",
",", "Lambda2Omega", ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Tangent", " ", "bundle", " ", "variables"}], "*)"}],
"TangentBundelCohomology", ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Hodge", " ", "diamond", " ", "variables"}], "*)"}],
"RowZero", ",", "RowOne", ",", "RowTwo", ",", "ParameterMatrix", ",",
"WorkingMatrix", ",", "WorkingVector", ",", "Solution", ",",
"ResultMatrix", ",", "BettiVector", ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"End", " ", "monad", " ", "bundle"}], "*)"}], "OSmMi", ",",
"OSNrmMi", ",", "OSNrmMiArray", ",", "OSmMiLabel", ",",
"OSNrmMiLabel", ",", "VBrOSMiArray", ",", "ExOSmMiLabel", ",",
"ExOSmMi", ",", "OSmNr", ",", "OSmNrLabel", ",", "rOSxEdualLabel",
",", "rOSxEdual", ",", "OSNrmNr", ",", " ", "VBrOSNr", ",",
"OSNrmNrArray", ",", "VBrOSNrArray", ",", "OSNrmNrLabel", ",",
"VBrOSNrLabel", ",", "OSNrxEdualLabel", ",", "OSNrxEdual", ",",
"OSmNrMi", ",", "VBrOSMi", ",", "OSmNrMiLabel", ",", "VBrOSMiLabel",
",", "OSMixEdualLabel", ",", "OSMixEdual", ",", "Vector1Label", ",",
"OSMixVdualLabel", ",", "OSMixVdual", ",", "ExEdualLabel", ",",
"ExEdual", ",", "EdualxE", ",", "ParameterVector", ",", "ExEdualSFT",
",", "ExVdualLabel", ",", "ExVdual", ",", "VxVdualLabel", ",",
"VxVdual", ",", "Stats"}], "}"}], ",", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"FancyOutput", "=", "FancyOutputIn"}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"SearchForTwistedIn", "\[Equal]", "3"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SearchForTwisted", "=", "1"}], ";",
RowBox[{"VerboseSearchForTwisted", "=", "True"}]}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"SearchForTwisted", "=", "SearchForTwistedIn"}], ";",
RowBox[{"VerboseSearchForTwisted", "=", "False"}]}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"r", "=",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"ComplInters", "=", "ComplIntersIn"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"ReturnCohomology", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ShowKoszul", "=",
RowBox[{
RowBox[{"VerboseLevel", "\[Equal]", "3"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "4"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "5"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "10"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"ShowLES", "=",
RowBox[{
RowBox[{"VerboseLevel", "\[Equal]", "1"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "2"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "4"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "5"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"DimAmbientSpace", "=",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"VerboseLevel", "\[Equal]", "2"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "5"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "9"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "10"}]}], ",",
RowBox[{"HeadingsOption", "=", "1"}], ",",
RowBox[{"HeadingsOption", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Special", " ", "verbose", " ", "for", " ", "showing", " ", "the",
" ", "critical", " ", "sequences", " ", "in", " ", "EndV"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"ShowSpecialLES", "=",
RowBox[{
RowBox[{"VerboseLevel", "\[Equal]", "8"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "9"}], "||",
RowBox[{"VerboseLevel", "\[Equal]", "10"}]}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Resest", " ", "of", " ", "the", " ", "counter", " ", "if", " ",
"there", " ", "is", " ", "no", " ", "hogde", " ", "diamond", " ",
"calculation", " ", "going", " ", "on"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!", "HodgeCalculation"}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"LineBundleCounter", "=",
RowBox[{"{",
RowBox[{"0", ",", "0"}], "}"}]}], ";"}], "*)"}],
RowBox[{"Index", "=", "1"}]}],
RowBox[{"(*",
RowBox[{
"Index", " ", "is", " ", "an", " ", "index", " ", "for", " ", "the",
" ", "\"\\"", " ", "in", " ", "the", " ",
"cohomology", " ", "vector"}], "*)"}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
"EquivariantCalculation", "=",
"\"\\""}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}]}], ",",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Length", "[", "ComplInters", "]"}], "\[NotEqual]",
"3"}], ",",
RowBox[{
RowBox[{
"Print", "[",
"\"\\"", " ",
"]"}], ";",
RowBox[{"Return", "[", "]"}]}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"LineBundle", "=",
RowBox[{"ComplInters", "[",
RowBox[{"[", "2", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ComplInters", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"DimComplInters", "=",
RowBox[{"DimAmbientSpace", "-",
RowBox[{"Length", "[", "ComplInters", "]"}]}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"The", " ", "Z_n", " ", "action"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"ZnAction", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "3", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"VerboseLevel", "\[Equal]", "6"}], ",",
RowBox[{"Verbose6", "=", "True"}], ",",
RowBox[{"Verbose6", "=", "False"}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]", "ClearLineBundles",
";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"EquivariantCalculation", "=", "True"}], ";",
"\[IndentingNewLine]",
RowBox[{"ReturnCohomologyPlus", "=",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",", "LineBundle"}],
"]"}], "[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{"DimComplInters", "+", "1"}]}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"EquivariantCalculation", "=", "False"}], ";",
"\[IndentingNewLine]", "ClearLineBundles", ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"FullResult", "=",
RowBox[{"CohomologyOf", "[",
RowBox[{"\"\\"", ",", "AmbientSpace", ",",
RowBox[{"{",
RowBox[{"ComplInters", ",", "LineBundle"}], "}"}], ",",
"\"\\""}], "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"ReturnCohomologyMinus", "=",
RowBox[{"FullResult", "-", "ReturnCohomologyPlus"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"ReturnCohomology", "=",
RowBox[{"{",
RowBox[{"ReturnCohomologyPlus", ",", "ReturnCohomologyMinus"}],
"}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"PrintCohomology", "=",
RowBox[{"TableForm", "[",
RowBox[{
RowBox[{"{", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Text", "@",
RowBox[{"Grid", "[",
RowBox[{
RowBox[{"Prepend", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{"{", "ReturnCohomologyPlus", "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\\"", ",", "\"\<+\>\"", ",", "\"\<\[Bullet]\>\""}],
"]"}], "[",
RowBox[{
"ListToStringWithoutBracket", "[", "LineBundle", "]"}],
"]"}], "}"}]}], "]"}], ",",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{"None", ",",
RowBox[{"{",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"Yellow", ",", ".9"}], "]"}], ",",
RowBox[{"{",
RowBox[{"White", ",",
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{"Blend", "[",
RowBox[{"{",
RowBox[{"Blue", ",", "Green"}], "}"}], "]"}], ",", ".8"}],
"]"}]}], "}"}]}], "}"}]}], "}"}]}], ",",
RowBox[{"Dividers", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Lighter", "[",
RowBox[{"Gray", ",", ".5"}], "]"}], "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{", "False", "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}]}], "}"}]}],
",",
RowBox[{"Alignment", "\[Rule]",
RowBox[{"{", "Center", "}"}]}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"ItemSize", "\[Rule]",
RowBox[{"{",
RowBox[{"{",
RowBox[{"10", ",", "3", ",", "5", ",", "5"}], "}"}],
"}"}]}], ","}], "*)"}],
RowBox[{"Frame", "\[Rule]",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], ",",
RowBox[{"ItemStyle", "\[Rule]", "14"}], ",",
RowBox[{"Spacings", "\[Rule]",
RowBox[{"{",
RowBox[{"Automatic", ",", ".8"}], "}"}]}]}], "]"}]}], ",",
"\[IndentingNewLine]",
RowBox[{"Text", "@",
RowBox[{"Grid", "[",
RowBox[{
RowBox[{"Prepend", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{"{", "ReturnCohomologyMinus", "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\\"", ",", "\"\<-\>\"", ",", "\"\<\[Bullet]\>\""}],
"]"}], "[",
RowBox[{
"ListToStringWithoutBracket", "[", "LineBundle", "]"}],
"]"}], "}"}]}], "]"}], ",",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{"None", ",",
RowBox[{"{",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"Yellow", ",", ".9"}], "]"}], ",",
RowBox[{"{",
RowBox[{"White", ",",
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{"Blend", "[",
RowBox[{"{",
RowBox[{"Blue", ",", "Green"}], "}"}], "]"}], ",", ".8"}],
"]"}]}], "}"}]}], "}"}]}], "}"}]}], ",",
RowBox[{"Dividers", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Lighter", "[",
RowBox[{"Gray", ",", ".5"}], "]"}], "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{", "False", "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}]}], "}"}]}],
",",
RowBox[{"Alignment", "\[Rule]",
RowBox[{"{", "Center", "}"}]}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"ItemSize", "\[Rule]",
RowBox[{"{",
RowBox[{"{",
RowBox[{"10", ",", "3", ",", "5", ",", "5"}], "}"}],
"}"}]}], ","}], "*)"}],
RowBox[{"Frame", "\[Rule]",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], ",",
RowBox[{"ItemStyle", "\[Rule]", "14"}], ",",
RowBox[{"Spacings", "\[Rule]",
RowBox[{"{",
RowBox[{"Automatic", ",", ".8"}], "}"}]}]}], "]"}]}]}],
"\[IndentingNewLine]", "}"}], ",",
RowBox[{"TableDirections", "\[Rule]", "Row"}]}],
"\[IndentingNewLine]", "]"}]}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"BundleType", "\[Equal]", "\"\\""}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"LineBundle", "=",
RowBox[{"ComplInters", "[",
RowBox[{"[", "2", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ComplInters", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"DimComplInters", "=",
RowBox[{"DimAmbientSpace", "-",
RowBox[{"Length", "[", "ComplInters", "]"}]}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Check", " ", "for", " ", "correct", " ", "input", " ", "data"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"CheckData", "=",
RowBox[{"CheckInputData", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",", "Type"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"CheckData", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",",
RowBox[{"Return", "[",
RowBox[{"CheckData", "[",
RowBox[{"[", "2", "]"}], "]"}], "]"}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"ReturnCohomology", "=",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",", "LineBundle"}],
"]"}], "[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{"DimComplInters", "+", "1"}]}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"PrintCohomology", "=",
RowBox[{"Text", "@",
RowBox[{"Grid", "[",
RowBox[{
RowBox[{"Prepend", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{"{", "ReturnCohomology", "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Superscript", "[",
RowBox[{"\"\\"", ",", "\"\<\[Bullet]\>\""}], "]"}],
"[",
RowBox[{
"ListToStringWithoutBracket", "[", "LineBundle", "]"}],
"]"}], "}"}]}], "]"}], ",",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{"None", ",",
RowBox[{"{",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"Yellow", ",", ".9"}], "]"}], ",",
RowBox[{"{",
RowBox[{"White", ",",
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{"Blend", "[",
RowBox[{"{",
RowBox[{"Blue", ",", "Green"}], "}"}], "]"}], ",", ".8"}],
"]"}]}], "}"}]}], "}"}]}], "}"}]}], ",",
RowBox[{"Dividers", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Lighter", "[",
RowBox[{"Gray", ",", ".5"}], "]"}], "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{", "False", "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}]}], "}"}]}],
",",
RowBox[{"Alignment", "\[Rule]",
RowBox[{"{", "Center", "}"}]}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"ItemSize", "\[Rule]",
RowBox[{"{",
RowBox[{"{",
RowBox[{"10", ",", "3", ",", "5", ",", "5"}], "}"}],
"}"}]}], ","}], "*)"}],
RowBox[{"Frame", "\[Rule]",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], ",",
RowBox[{"ItemStyle", "\[Rule]", "14"}], ",",
RowBox[{"Spacings", "\[Rule]",
RowBox[{"{",
RowBox[{"Automatic", ",", ".8"}], "}"}]}]}], "]"}]}]}]}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Distinguish", " ", "between", " ", "monad", " ", "bundles", " ",
"and", " ", "the", " ", "tangent", " ",
RowBox[{"bundle", ".", " ", "Lambda1CoTM"}], " ", "and", " ",
"CoTM", " ", "are", " ", "of", " ", "course", " ", "the", " ",
"same"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Tangent", " ", "bundle", " ", "calculation"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{"BundleType", "\[Equal]", "\"\\""}]}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"VectorBundleCharges", "=",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "3", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"VectorBundleConstraints", "=", "ComplInters"}], ";",
"\[IndentingNewLine]",
RowBox[{"VBr", "=", "r"}], ";", "\[IndentingNewLine]",
RowBox[{"VbConstrString", "=", "\"\\""}], ";",
RowBox[{"lV", "=", "\"\\""}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FancyOutput", "\[Equal]", "1"}], ",",
RowBox[{
RowBox[{"V", "=",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}]}], ";",
RowBox[{"VbChargesString", "=", "\"\\""}], ";",
RowBox[{"nV", "=", "\"\\""}], ";",
RowBox[{"rV", "=", "\"\\""}]}], ",", "\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], " ",
RowBox[{
RowBox[{"V", "=", "\"\\""}], ";",
RowBox[{"VbChargesString", "=", "\"\\""}], ";",
RowBox[{"nV", "=", "\"\\""}], ";",
RowBox[{"rV", "=", "\"\\""}]}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Monad", " ", "bundle", " ", "calculation"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{"BundleType", "\[Equal]", "\"\\""}]}],
",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"ComplInters", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"VectorBundleCharges", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "2", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"VectorBundleConstraints", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "3", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"VBr", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "4", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"VbConstrString", "=", "\"\\""}], ";",
RowBox[{"lV", "=",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FancyOutput", "\[Equal]", "1"}], ",",
RowBox[{
RowBox[{"V", "=", "\"\\""}], ";",
RowBox[{"VbChargesString", "=", "\"\\""}], ";",
RowBox[{"nV", "=",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}]}], ";",
RowBox[{"rV", "=",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}]}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"V", "=", "\"\\""}], ";",
RowBox[{"VbChargesString", "=", "\"\\""}], ";",
RowBox[{"nV", "=", "\"\\""}], ";",
RowBox[{"rV", "=", "\"\\""}]}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Monad", " ", "bundle", " ", "calculation"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"BundleType", "\[Equal]", "\"\\""}],
"||",
RowBox[{"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{"BundleType", "\[Equal]",
RowBox[{"\"\\"", "BundleType"}],
"\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}]}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"ComplInters", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"VectorBundleCharges", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "2", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"VectorBundleConstraints", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "3", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"VBr", "=",
RowBox[{"ComplIntersIn", "[",
RowBox[{"[", "4", "]"}], "]"}]}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"VBr", "=", "0"}], ";", "\[IndentingNewLine]",
RowBox[{"VbConstrString", "=", "\"\\""}], ";",
RowBox[{"lV", "=",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"FancyOutput", "\[Equal]", "1"}], ",",
RowBox[{
RowBox[{"V", "=", "\"\\""}], ";",
RowBox[{"VbChargesString", "=", "\"\\""}], ";",
RowBox[{"nV", "=",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}]}], ";",
RowBox[{"rV", "=",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}]}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "else", "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"V", "=", "\"\\""}], ";",
RowBox[{"VbChargesString", "=", "\"\\""}], ";",
RowBox[{"nV", "=", "\"\\""}], ";",
RowBox[{"rV", "=", "\"\\""}]}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Initialize", " ", "variables", " ", "for", " ", "holomorphic", " ",
"euler", " ", "check"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"!", "HodgeCalculation"}], "&&", "CheckEuler", "&&",
RowBox[{"!",
RowBox[{"LineBundleCollector", "[",
RowBox[{"[", "1", "]"}], "]"}]}]}], ",", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"eqns", "=",
RowBox[{"Map", "[",
RowBox[{
RowBox[{
RowBox[{"ConvertDivisorsToPicardGenerators", "[",
RowBox[{"AmbientSpace", ",", "#"}], "]"}], "&"}], ",",
"ComplInters"}], "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"subvar", "=",
RowBox[{"Apply", "[",
RowBox[{"Times", ",", "eqns"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"subvardim", "=",
RowBox[{"ambientdimension", "-",
RowBox[{"TotalPolyDegree", "[", "subvar", "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"TEMPrestrictedintz", "=",
RowBox[{
"PrintTemporary", "[",
"\"\\"",
"]"}]}], ";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"restrictedrulz", "=",
RowBox[{"ComputeRestrictedIntz", "[",
RowBox[{
"rule", ",", "picardgens", ",", "ambientdimension", ",",
"subvar"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"restrictedrules", ":=",
RowBox[{"restrictedrulz", "[",
RowBox[{"[", "2", "]"}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Clear", "[", "TEMPrestrictedintz", "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",", "subvardim", ",",
"\"\<-dimensional subvariety is given by: \>\"", ",",
"subvar", ",",
"\"\<\nThe restricted intersection numbers on it are: \>\"",
",", "restrictedrules"}], "]"}], ";", "\n",
RowBox[{"Print", "[",
RowBox[{"\"\\"", ",",
RowBox[{"restrictedrulz", "[",
RowBox[{"[", "1", "]"}], "]"}]}], "]"}], ";"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"TEMPambientchernclass", "=",
RowBox[{
"PrintTemporary", "[",
"\"\\"", "]"}]}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"ambientchernclass", "=",
RowBox[{"FastAmbientTotalChernClassFromCoords", "[",
RowBox[{"edgevals", ",", "ambientdimension"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"ambientterms", "=",
RowBox[{"Length", "[",
RowBox[{"MonomialList", "[", "ambientchernclass", "]"}], "]"}]}],
";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Clear", "[", "TEMPambientchernclass", "]"}], ";"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"Print", "[",
RowBox[{
"\"\\"", ",",
"ambientterms", ",", "\"\< monomial terms.\>\""}], "]"}],
";"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"subvarch", "=",
RowBox[{"SubvarietyChernClasses", "[",
RowBox[{"ambientchernclass", ",", "eqns", ",", "subvardim"}],
"]"}]}], ";"}]}], "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"OutputChernClassList", "[",
RowBox[{"subvarch", ",", "\"\\""}], "]"}], ";"}],
"*)"}], "\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"-", "Start"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
}], " ", "calculation", " ", "of", " ", "the", " ", "O_S", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"cohomology", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Check", " ", "for", " ", "correct", " ", "input", " ", "data"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"CheckData", "=",
RowBox[{"CheckInputData", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",", "Type"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"CheckData", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",",
RowBox[{"Return", "[",
RowBox[{"CheckData", "[",
RowBox[{"[", "2", "]"}], "]"}], "]"}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Check", " ", "if", " ", "the", " ", "Hodge", " ", "diamond", " ",
"is", " ", "calculated"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!", "HodgeCalculation"}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"LineBundleCounter", "=",
RowBox[{"{",
RowBox[{"0", ",", "0"}], "}"}]}], ";"}], "*)"}],
RowBox[{"Index", "=", "1"}]}], "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"DimComplInters", "=",
RowBox[{"DimAmbientSpace", "-",
RowBox[{"Length", "[", "ComplInters", "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Index", "=", "1"}], ";", " ",
RowBox[{"(*",
RowBox[{
"Index", " ", "is", " ", "an", " ", "index", " ", "for", " ",
"the", " ", "\"\\"", " ", "in", " ",
"the", " ", "cohomology", " ", "vector"}], "*)"}],
"\[IndentingNewLine]",
RowBox[{"r", "=",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Calculate", " ", "O_S"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Lambda0CotangentBundleCohomology", "=",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"0", "^", "#"}], "&"}], ",", "r"}], "]"}]}], "]"}],
"[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{"DimComplInters", "+", "1"}]}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{
"ReturnCohomology", "=", "Lambda0CotangentBundleCohomology"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"PrintCohomology", "=",
RowBox[{"Text", "@",
RowBox[{"Grid", "[",
RowBox[{
RowBox[{"Prepend", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{"{", "ReturnCohomology", "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Superscript", "[",
RowBox[{"\"\\"", ",", "\"\<\[Bullet]\>\""}], "]"}],
"[",
RowBox[{
RowBox[{"Superscript", "[",
RowBox[{"\"\<\[CapitalLambda]\>\"", ",", "0"}], "]"}],
"[",
RowBox[{"Superscript", "[",
RowBox[{"V", ",", "\"\<*\>\""}], "]"}], "]"}], "]"}],
"}"}]}], "]"}], ",",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{"None", ",",
RowBox[{"{",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"Yellow", ",", ".9"}], "]"}], ",",
RowBox[{"{",
RowBox[{"White", ",",
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{"Blend", "[",
RowBox[{"{",
RowBox[{"Blue", ",", "Green"}], "}"}], "]"}], ",", ".8"}],
"]"}]}], "}"}]}], "}"}]}], "}"}]}], ",",
RowBox[{"Dividers", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Lighter", "[",
RowBox[{"Gray", ",", ".5"}], "]"}], "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{", "False", "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}]}], "}"}]}],
",",
RowBox[{"Alignment", "\[Rule]",
RowBox[{"{", "Center", "}"}]}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"ItemSize", "\[Rule]",
RowBox[{"{",
RowBox[{"{",
RowBox[{"10", ",", "3", ",", "5", ",", "5"}], "}"}],
"}"}]}], ","}], "*)"}],
RowBox[{"Frame", "\[Rule]",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], ",",
RowBox[{"ItemStyle", "\[Rule]", "14"}], ",",
RowBox[{"Spacings", "\[Rule]",
RowBox[{"{",
RowBox[{"Automatic", ",", ".8"}], "}"}]}]}], "]"}]}]}]}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"-", "End"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]\
, " ", "calculation", " ", "of", " ", "the", " ", "O_S", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"cohomology", "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}]}], "-",
RowBox[{"-",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--", "--"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"-", "Start"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}], " ",
"calculation", " ", "of", " ", "the", " ", "exact", " ", "monad",
" ", "bundle", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"cohomology", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}]}],
",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Reset", " ", "list", " ", "of", " ", "calculated", " ", "line",
" ", "bundle", " ", "cohomologie", " ", "of", " ", "the", " ",
"subvariety"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Check", " ", "for", " ", "correct", " ", "input", " ", "data"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"CheckData", "=",
RowBox[{"CheckInputData", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",", "Type"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"CheckData", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",",
RowBox[{"Return", "[",
RowBox[{"CheckData", "[",
RowBox[{"[", "2", "]"}], "]"}], "]"}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!", "HodgeCalculation"}], ",",
RowBox[{"Index", "=", "1"}]}], " ",
RowBox[{"(*",
RowBox[{
"Index", " ", "is", " ", "an", " ", "index", " ", "for", " ",
"the", " ", "\"\\"", " ", "in", " ",
"the", " ", "cohomology", " ", "vector"}], "*)"}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"DimAmbientSpace", "=",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"DimComplInters", "=",
RowBox[{"DimAmbientSpace", "-",
RowBox[{"Length", "[", "ComplInters", "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"r", "=",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"EulerBundles11", "=", "VectorBundleCharges"}], ";",
"\[IndentingNewLine]",
RowBox[{"Euler21Array", "=", "VectorBundleConstraints"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Vector1", "=",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{"EulerBundles11", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "VectorBundleCharges", "]"}]}],
"}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"Euler21", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",", "DimAmbientSpace"}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Euler21", "=",
RowBox[{"Euler21", "+",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{"Euler21Array", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "Euler21Array", "]"}]}], "}"}]}],
"]"}]}]}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowLES", ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"LabelEuler21", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "lV"}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{"Subscript", "[",
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\<-\>\"", ",", "VbConstrString"}], "]"}], ",",
"\"\\""}], "]"}], "]"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{
"\"\<\\\\oplus_i O_S[-\>\"", ",", "VbConstrString", ",",
"\"\<_i]\>\""}], "]"}]}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}], "Euler21Array", ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"LabelEuler11", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "nV"}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{"Subscript", "[",
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\<-\>\"", ",", "VbChargesString"}], "]"}],
",", "\"\\""}], "]"}], "]"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{
"\"\<\\\\oplus_k O_S[-\>\"", ",", "VbChargesString", ",",
"\"\<_k]\>\""}], "]"}]}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}], "EulerBundles11", ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ShowLongExactSequences", "=", "1"}]}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"DualExactMonadBundleCohomology", "=",
RowBox[{
"ThirdVectorFromLongExactSequenceLabeled", "[",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"Vector1", ",", "LabelEuler11"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"{",
RowBox[{"Euler21", ",", "LabelEuler21"}], "}"}], ",",
"\[IndentingNewLine]", "\"\\"", ",", "\[IndentingNewLine]",
"1", ",", "\[IndentingNewLine]", "DimComplInters", ",",
"CalabiYauRestrictions"}], "\[IndentingNewLine]", "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"ReturnCohomology", "=",
RowBox[{"DualExactMonadBundleCohomology", "[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{"DimComplInters", "+", "1"}]}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"PrintCohomology", "=",
RowBox[{"Text", "@",
RowBox[{"Grid", "[",
RowBox[{
RowBox[{"Prepend", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{"{", "ReturnCohomology", "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Superscript", "[",
RowBox[{"\"\\"", ",", "\"\<\[Bullet]\>\""}], "]"}],
"[",
RowBox[{"Superscript", "[",
RowBox[{"V", ",", "\"\<*\>\""}], "]"}], "]"}], "}"}]}],
"]"}], ",",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{"None", ",",
RowBox[{"{",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"Yellow", ",", ".9"}], "]"}], ",",
RowBox[{"{",
RowBox[{"White", ",",
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{"Blend", "[",
RowBox[{"{",
RowBox[{"Blue", ",", "Green"}], "}"}], "]"}], ",", ".8"}],
"]"}]}], "}"}]}], "}"}]}], "}"}]}], ",",
RowBox[{"Dividers", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Lighter", "[",
RowBox[{"Gray", ",", ".5"}], "]"}], "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{", "False", "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}]}], "}"}]}],
",",
RowBox[{"Alignment", "\[Rule]",
RowBox[{"{", "Center", "}"}]}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"ItemSize", "\[Rule]",
RowBox[{"{",
RowBox[{"{",
RowBox[{"10", ",", "3", ",", "5", ",", "5"}], "}"}],
"}"}]}], ","}], "*)"}],
RowBox[{"Frame", "\[Rule]",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], ",",
RowBox[{"ItemStyle", "\[Rule]", "14"}], ",",
RowBox[{"Spacings", "\[Rule]",
RowBox[{"{",
RowBox[{"Automatic", ",", ".8"}], "}"}]}]}], "]"}]}]}]}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"-", "End"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
" ", "calculation", " ", "of", " ", "the", " ", "exact", " ",
"monad", " ", "bundle", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"cohomology", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}]}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"-", "Start"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}], " ",
"calculation", " ", "of", " ", "the", " ", "Lambda", " ", "2", " ",
"of", " ", "the", " ", "exact", " ", "dual", " ", "monad", " ",
"bundle", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"cohomology", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}]}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Reset", " ", "list", " ", "of", " ", "calculated", " ", "line",
" ", "bundle", " ", "cohomologie", " ", "of", " ", "the", " ",
"subvariety"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Check", " ", "for", " ", "correct", " ", "input", " ", "data"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"CheckData", "=",
RowBox[{"CheckInputData", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",", "Type"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"CheckData", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",",
RowBox[{"Return", "[",
RowBox[{"CheckData", "[",
RowBox[{"[", "2", "]"}], "]"}], "]"}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!", "HodgeCalculation"}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"LineBundleCounter", "=",
RowBox[{"{",
RowBox[{"0", ",", "0"}], "}"}]}], ";"}], "*)"}],
RowBox[{"Index", "=", "1"}]}], " ",
RowBox[{"(*",
RowBox[{
"Index", " ", "is", " ", "an", " ", "index", " ", "for", " ",
"the", " ", "\"\\"", " ", "in", " ",
"the", " ", "cohomology", " ", "vector"}], "*)"}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"DimAmbientSpace", "=",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"DimComplInters", "=",
RowBox[{"DimAmbientSpace", "-",
RowBox[{"Length", "[", "ComplInters", "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"r", "=",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Sequence", " ", "3"}], "*)"}], "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"OSmSimDkArray", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]", " ",
RowBox[{"Length", "[", "VectorBundleCharges", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "1"}], ",",
RowBox[{"j", "\[LessEqual]", " ",
RowBox[{"Length", "[", "VectorBundleConstraints", "]"}]}],
",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"AppendTo", "[",
RowBox[{"OSmSimDkArray", ",",
RowBox[{
RowBox[{"VectorBundleCharges", "[",
RowBox[{"[", "i", "]"}], "]"}], "+",
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"OSmSimDk", "=",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "i", "]"}], "]"}], "+",
RowBox[{"VectorBundleCharges", "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",",
RowBox[{"Length", "[", "VectorBundleConstraints", "]"}]}],
"}"}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"j", ",",
RowBox[{"Length", "[", "VectorBundleCharges", "]"}]}],
"}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"--", "-"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"OSmSimSj", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"0", "^", "#"}], "&"}], ",",
RowBox[{"DimAmbientSpace", "+", "1"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"OSmSimSjArray", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]", " ",
RowBox[{"Length", "[", "VectorBundleConstraints", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "1"}], ",",
RowBox[{"j", "\[LessEqual]", " ",
RowBox[{"Length", "[", "VectorBundleConstraints", "]"}]}],
",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"OSmSimSj", "=",
RowBox[{"OSmSimSj", "+",
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{
RowBox[{"+",
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "+",
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{"OSmSimSjArray", ",",
RowBox[{
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "i", "]"}], "]"}], "+",
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowLES", ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"OSmSimDkLabel", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "lV"}],
"]"}],
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "nV"}],
"]"}],
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"VbConstrString", ",", "\"\\""}], "]"}], "+",
RowBox[{"Subscript", "[",
RowBox[{"VbChargesString", ",", "\"\<\[Rho]\>\""}],
"]"}]}], "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{
"\"\<\\\\oplus_i\\\\oplus_k O_S(-\>\"", ",",
"VbConstrString", ",", "\"\<_j-\>\"", ",",
"VbChargesString", ",", "\"\<_k)\>\""}], "]"}]}], "}"}],
",", "\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}], "OSmSimDkArray", ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"OSmSimSjLabel", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "lV"}],
"]"}],
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "lV"}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"VbConstrString", ",", "\"\\""}], "]"}], "+",
RowBox[{"Subscript", "[",
RowBox[{"VbConstrString", ",", "\"\\""}], "]"}]}],
"]"}], "]"}]}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{
"\"\<\\\\oplus_{i,j} O_S(-\>\"", ",", "VbConstrString",
",", "\"\<_i-\>\"", ",", "VbConstrString", ",",
"\"\<_j)\>\""}], "]"}]}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}], "OSmSimSjArray", ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ShowLongExactSequences", "=", "1"}]}], ",",
RowBox[{
RowBox[{"ShowLongExactSequences", "=", "0"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"VTensorLineBundleSum", "=",
RowBox[{
"ThirdVectorFromLongExactSequenceLabeled", "[",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"OSmSimDk", ",", "OSmSimDkLabel"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"{",
RowBox[{"OSmSimSj", ",", "OSmSimSjLabel"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"\"\\"",
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}], "[",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}], "]"}]}], ",",
"\[IndentingNewLine]", "1", ",", "\[IndentingNewLine]",
"DimComplInters", ",", "CalabiYauRestrictions"}],
"\[IndentingNewLine]", "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Sequence", " ", "2"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"OSmSimSj", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"0", "^", "#"}], "&"}], ",",
RowBox[{"DimAmbientSpace", "+", "1"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"OSmSimSjArray", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]", " ",
RowBox[{"Length", "[", "VectorBundleConstraints", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "1"}], ",",
RowBox[{"j", "<", "i"}], ",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"OSmSimSj", "=",
RowBox[{"OSmSimSj", "+",
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{
RowBox[{"+",
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "+",
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{"OSmSimSjArray", ",",
RowBox[{
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "i", "]"}], "]"}], "+",
RowBox[{"VectorBundleConstraints", "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]",
RowBox[{"OSDiDj", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"0", "^", "#"}], "&"}], ",",
RowBox[{"DimAmbientSpace", "+", "1"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"OSDiDjArray", "=",
RowBox[{"{", "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"For", "[",
RowBox[{
RowBox[{"i", "=", "1"}], ",",
RowBox[{"i", "\[LessEqual]", " ",
RowBox[{"Length", "[", "VectorBundleCharges", "]"}]}], ",",
RowBox[{"i", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"For", "[",
RowBox[{
RowBox[{"j", "=", "1"}], ",",
RowBox[{"j", "<", "i"}], ",",
RowBox[{"j", "++"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"OSDiDj", "=",
RowBox[{"OSDiDj", "+",
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{
RowBox[{"+",
RowBox[{"VectorBundleCharges", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "+",
RowBox[{"VectorBundleCharges", "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"AppendTo", "[",
RowBox[{"OSDiDjArray", ",",
RowBox[{
RowBox[{"VectorBundleCharges", "[",
RowBox[{"[", "i", "]"}], "]"}], "+",
RowBox[{"VectorBundleCharges", "[",
RowBox[{"[", "j", "]"}], "]"}]}]}], "]"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]",
"]"}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowLES", ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"OSmSimSjLabel", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "lV"}],
"]"}],
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"VbConstrString", ",", "\"\\""}], "]"}], "+",
RowBox[{"Subscript", "[",
RowBox[{"VbConstrString", ",", "\"\\""}], "]"}]}],
"]"}]}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{
"\"\<\\\\oplus_i\\\\oplus_j O_S(-\>\"", ",",
"VbConstrString", ",", "\"\<_i-\>\"", ",",
"VbConstrString", ",", "\"\<_j)\>\""}], "]"}]}], "}"}],
",", "\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}], "OSmSimSjArray", ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"OSDiDjLabel", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\<\[Rho]<\[Rho]'\>\"",
",", "lV"}], "]"}], "[",
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"VbChargesString", ",", "\"\<\[Rho]\>\""}], "]"}],
"+",
RowBox[{"Subscript", "[",
RowBox[{"VbChargesString", ",", "\"\<\[Rho]'\>\""}],
"]"}]}], "]"}], "]"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{
"\"\<\\\\oplus_{\\rho,\\rho'} O_S(\>\"", ",",
"VbChargesString", ",", "\"\<_\\rho+\>\"", ",",
"VbChargesString", ",", "\"\<_\\rho')\>\""}], "]"}]}],
"}"}], ",", "\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}], "OSDiDjArray", ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ShowLongExactSequences", "=", "1"}]}], ",",
RowBox[{
RowBox[{"ShowLongExactSequences", "=", "0"}], ";"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"Q1AuxBundle", "=",
RowBox[{
"ThirdVectorFromLongExactSequenceLabeled", "[",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"OSDiDj", ",", "OSDiDjLabel"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"{",
RowBox[{"OSmSimSj", ",", "OSmSimSjLabel"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "1"}], "]"}], ",",
"\[IndentingNewLine]", "1", ",", "\[IndentingNewLine]",
"DimComplInters", ",", "CalabiYauRestrictions"}],
"\[IndentingNewLine]", "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Sequence", " ", "1"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Lambda2DualExactMonadBundleCohomology", "=",
RowBox[{
"ThirdVectorFromLongExactSequenceLabeled", "[",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"Q1AuxBundle", ",", "\"\\""}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"{",
RowBox[{"VTensorLineBundleSum", ",",
RowBox[{"\"\\"",
RowBox[{
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}], "[",
RowBox[{"Subscript", "[",
RowBox[{"\"\\"", ",", "\"\\""}], "]"}], "]"}]}]}],
"}"}], ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Superscript", "[",
RowBox[{"\"\<\[CapitalLambda]\>\"", ",", "2"}], "]"}], "[",
"V", "]"}], ",", "\[IndentingNewLine]", "1", ",",
"\[IndentingNewLine]", "DimComplInters", ",",
"CalabiYauRestrictions"}], "\[IndentingNewLine]", "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"ReturnCohomology", "=",
RowBox[{"Lambda2DualExactMonadBundleCohomology", "[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{"DimComplInters", "+", "1"}]}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"PrintCohomology", "=",
RowBox[{"Text", "@",
RowBox[{"Grid", "[",
RowBox[{
RowBox[{"Prepend", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{"{", "ReturnCohomology", "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Superscript", "[",
RowBox[{"\"\\"", ",", "\"\<\[Bullet]\>\""}], "]"}],
"[",
RowBox[{
RowBox[{"Superscript", "[",
RowBox[{"\"\<\[CapitalLambda]\>\"", ",", "\"\<2\>\""}],
"]"}], "[", "V", "]"}], "]"}], "}"}]}], "]"}], ",",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{"None", ",",
RowBox[{"{",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"Yellow", ",", ".9"}], "]"}], ",",
RowBox[{"{",
RowBox[{"White", ",",
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{"Blend", "[",
RowBox[{"{",
RowBox[{"Blue", ",", "Green"}], "}"}], "]"}], ",", ".8"}],
"]"}]}], "}"}]}], "}"}]}], "}"}]}], ",",
RowBox[{"Dividers", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Lighter", "[",
RowBox[{"Gray", ",", ".5"}], "]"}], "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{", "False", "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}]}], "}"}]}],
",",
RowBox[{"Alignment", "\[Rule]",
RowBox[{"{", "Center", "}"}]}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"ItemSize", "\[Rule]",
RowBox[{"{",
RowBox[{"{",
RowBox[{"10", ",", "3", ",", "5", ",", "5"}], "}"}],
"}"}]}], ","}], "*)"}],
RowBox[{"Frame", "\[Rule]",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], ",",
RowBox[{"ItemStyle", "\[Rule]", "14"}], ",",
RowBox[{"Spacings", "\[Rule]",
RowBox[{"{",
RowBox[{"Automatic", ",", ".8"}], "}"}]}]}], "]"}]}]}]}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"-", "End"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
" ", "calculation", " ", "of", " ", "Lambda", " ", "2", " ", "of",
" ", "the", " ", "exact", " ", "monad", " ", "bundle", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"cohomology", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}]}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"-", "Start"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}], " ",
"calculation", " ", "of", " ", "the", " ", "exact", " ", "dual",
" ", "monad", " ", "bundle", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"cohomology", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}]}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"BundleType", "\[Equal]", "\"\\""}],
"||",
RowBox[{
"BundleType", "\[Equal]",
"\"\\""}]}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Reset", " ", "list", " ", "of", " ", "calculated", " ", "line",
" ", "bundle", " ", "cohomologie", " ", "of", " ", "the", " ",
"subvariety"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Check", " ", "for", " ", "correct", " ", "input", " ", "data"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"CheckData", "=",
RowBox[{"CheckInputData", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",", "Type"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"CheckData", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",",
RowBox[{"Return", "[",
RowBox[{"CheckData", "[",
RowBox[{"[", "2", "]"}], "]"}], "]"}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!", "HodgeCalculation"}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"LineBundleCounter", "=",
RowBox[{"{",
RowBox[{"0", ",", "0"}], "}"}]}], ";"}], "*)"}],
RowBox[{"Index", "=", "1"}]}], " ",
RowBox[{"(*",
RowBox[{
"Index", " ", "is", " ", "an", " ", "index", " ", "for", " ",
"the", " ", "\"\\"", " ", "in", " ",
"the", " ", "cohomology", " ", "vector"}], "*)"}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"DimAmbientSpace", "=",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"DimComplInters", "=",
RowBox[{"DimAmbientSpace", "-",
RowBox[{"Length", "[", "ComplInters", "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"r", "=",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"EulerBundles11", "=",
RowBox[{"-", "VectorBundleCharges"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Euler21Array", "=",
RowBox[{"-", "VectorBundleConstraints"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"Vector1", "=",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{"EulerBundles11", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "VectorBundleCharges", "]"}]}],
"}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"Euler21", "=",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{"Euler21Array", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "Euler21Array", "]"}]}], "}"}]}],
"]"}]}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowLES", ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"LabelEuler21", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "lV"}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{"Subscript", "[",
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\<-\>\"", ",", "VbConstrString"}], "]"}], ",",
"\"\\""}], "]"}], "]"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{
"\"\<\\\\oplus_i O_S[-\>\"", ",", "VbConstrString", ",",
"\"\<_i]\>\""}], "]"}]}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}], "Euler21Array", ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"LabelEuler11", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "nV"}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{"Subscript", "[",
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\<-\>\"", ",", "VbChargesString"}], "]"}],
",", "\"\\""}], "]"}], "]"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{
"\"\<\\\\oplus_k O_S[-\>\"", ",", "VbChargesString", ",",
"\"\<_k]\>\""}], "]"}]}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}], "EulerBundles11", ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ShowLongExactSequences", "=", "1"}]}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"DualExactMonadBundleCohomology", "=",
RowBox[{
"ThirdVectorFromLongExactSequenceLabeled", "[",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"Euler21", ",", "LabelEuler21"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"{",
RowBox[{"Vector1", ",", "LabelEuler11"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"Superscript", "[",
RowBox[{"\"\<\[CapitalLambda]V\>\"", ",", "\"\<*\>\""}], "]"}],
",", "\[IndentingNewLine]", "3", ",", "\[IndentingNewLine]",
"DimComplInters", ",", "CalabiYauRestrictions"}],
"\[IndentingNewLine]", "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ReturnCohomology", "=",
RowBox[{"DualExactMonadBundleCohomology", "[",
RowBox[{"[",
RowBox[{"1", ";;",
RowBox[{"DimComplInters", "+", "1"}]}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"PrintCohomology", "=",
RowBox[{"Text", "@",
RowBox[{"Grid", "[",
RowBox[{
RowBox[{"Prepend", "[",
RowBox[{
RowBox[{"Transpose", "[",
RowBox[{"{", "ReturnCohomology", "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Superscript", "[",
RowBox[{"\"\\"", ",", "\"\<\[Bullet]\>\""}], "]"}],
"[",
RowBox[{"Superscript", "[",
RowBox[{"V", ",", "\"\<*\>\""}], "]"}], "]"}], "}"}]}],
"]"}], ",",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{"None", ",",
RowBox[{"{",
RowBox[{
RowBox[{"Lighter", "[",
RowBox[{"Yellow", ",", ".9"}], "]"}], ",",
RowBox[{"{",
RowBox[{"White", ",",
RowBox[{"Lighter", "[",
RowBox[{
RowBox[{"Blend", "[",
RowBox[{"{",
RowBox[{"Blue", ",", "Green"}], "}"}], "]"}], ",", ".8"}],
"]"}]}], "}"}]}], "}"}]}], "}"}]}], ",",
RowBox[{"Dividers", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Lighter", "[",
RowBox[{"Gray", ",", ".5"}], "]"}], "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}], ",",
RowBox[{"{", "False", "}"}], ",",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], "}"}]}], "}"}]}],
",",
RowBox[{"Alignment", "\[Rule]",
RowBox[{"{", "Center", "}"}]}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"ItemSize", "\[Rule]",
RowBox[{"{",
RowBox[{"{",
RowBox[{"10", ",", "3", ",", "5", ",", "5"}], "}"}],
"}"}]}], ","}], "*)"}],
RowBox[{"Frame", "\[Rule]",
RowBox[{"Darker", "[",
RowBox[{"Gray", ",", ".6"}], "]"}]}], ",",
RowBox[{"ItemStyle", "\[Rule]", "14"}], ",",
RowBox[{"Spacings", "\[Rule]",
RowBox[{"{",
RowBox[{"Automatic", ",", ".8"}], "}"}]}]}], "]"}]}]}]}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"-", "End"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}],
" ", "calculation", " ", "of", " ", "the", " ", "exact", " ",
"dual", " ", "monad", " ", "bundle", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"cohomology", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}]}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{"--",
RowBox[{
"-", "Start"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}], " ",
"calculation", " ", "of", " ", "the", " ", "dual", " ", "monad",
" ", "bundle", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"cohomology", "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}],
"--"}], "--"}], "--"}], "--"}], "--"}], "--"}], "--"}]}],
"*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{"BundleType", "\[Equal]", "\"\\""}], "||",
RowBox[{
"BundleType", "\[Equal]", "\"\\""}]}],
",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Reset", " ", "list", " ", "of", " ", "calculated", " ", "line",
" ", "bundle", " ", "cohomologie", " ", "of", " ", "the", " ",
"subvariety"}], "*)"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"KoszuledLineBundleList", "=",
RowBox[{"{",
RowBox[{"{", "1", "}"}], "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Check", " ", "for", " ", "correct", " ", "input", " ", "data"}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"CheckData", "=",
RowBox[{"CheckInputData", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",", "Type"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!",
RowBox[{"CheckData", "[",
RowBox[{"[", "1", "]"}], "]"}]}], ",",
RowBox[{"Return", "[",
RowBox[{"CheckData", "[",
RowBox[{"[", "2", "]"}], "]"}], "]"}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{"!", "HodgeCalculation"}], ",",
RowBox[{"(*",
RowBox[{
RowBox[{"LineBundleCounter", "=",
RowBox[{"{",
RowBox[{"0", ",", "0"}], "}"}]}], ";"}], "*)"}],
RowBox[{"Index", "=", "1"}]}], " ",
RowBox[{"(*",
RowBox[{
"Index", " ", "is", " ", "an", " ", "index", " ", "for", " ",
"the", " ", "\"\\"", " ", "in", " ",
"the", " ", "cohomology", " ", "vector"}], "*)"}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"DimAmbientSpace", "=",
RowBox[{
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[", "1", "]"}], "]"}], "]"}], "-",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"DimComplInters", "=",
RowBox[{"DimAmbientSpace", "-",
RowBox[{"Length", "[", "ComplInters", "]"}]}]}], ";",
"\[IndentingNewLine]",
RowBox[{"r", "=",
RowBox[{"Length", "[",
RowBox[{"AmbientSpace", "[",
RowBox[{"[",
RowBox[{"3", ",", "1"}], "]"}], "]"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]",
RowBox[{"EulerBundles11", "=",
RowBox[{"-", "VectorBundleCharges"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"EulerBundles12", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{
RowBox[{"0", "^", "#"}], "&"}], ",", "r"}], "]"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"Vector1", "=",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{"EulerBundles11", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "VectorBundleCharges", "]"}]}],
"}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"Vector2", "=",
RowBox[{"VBr", "*",
RowBox[{"Koszul", "[",
RowBox[{
"AmbientSpace", ",", "ComplInters", ",", "EulerBundles12"}],
"]"}]}]}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowLES", ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"LabelEuler11", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "nV"}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{"Subscript", "[",
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\<-\>\"", ",", "VbChargesString"}], "]"}],
",", "\"\\""}], "]"}], "]"}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{
"\"\<\\\\oplus_k O_S[-\>\"", ",", "VbChargesString", ",",
"\"\<_k]\>\""}], "]"}]}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}], "EulerBundles11", ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"LabelEuler12", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\"", ",",
RowBox[{"\"\<\>\"", "\[CirclePlus]", "rV"}]}], "]"}], ",",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
RowBox[{"StringJoin", "[",
RowBox[{"\"\\"", ",",
RowBox[{"ToString", "[", "rV", "]"}], ",", "\"\\""}],
"]"}]}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}],
RowBox[{"{", "}"}], ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"LabelEuler13", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[ScriptCapitalE]\>\"", ",", "\"\\"", ",",
"\"\<\[Star]\>\""}], "]"}], ",", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Standard"}], "*)"}],
"\"\\""}], "}"}], ",", "\[IndentingNewLine]",
RowBox[{"(*", "InList", "*)"}],
RowBox[{"{", "}"}], ",",
RowBox[{"(*", "Variety", "*)"}], "\"\\"", ",",
RowBox[{"(*", "Fancy", "*)"}], "FancyOutput", ",",
RowBox[{"(*", "HeadingsOption", "*)"}], "HeadingsOption"}],
"]"}]}], ";", "\[IndentingNewLine]",
RowBox[{"ShowLongExactSequences", "=", "1"}]}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}],
"\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"AuxiliaryBundle", "=",
RowBox[{
"ThirdVectorFromLongExactSequenceLabeled", "[",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"{",
RowBox[{"Vector1", ",", "LabelEuler11"}], "}"}], ",",
"\[IndentingNewLine]",
RowBox[{"{",
RowBox[{"Vector2", ",", "LabelEuler12"}], "}"}], ",",
"\[IndentingNewLine]", "LabelEuler13", ",",
"\[IndentingNewLine]", "1", ",", "DimComplInters", ",",
RowBox[{"{", "}"}]}], "]"}]}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
RowBox[{
RowBox[{"For", " ", "a", " ", "Calabi"}], "-", "Yau"}], ",",
" ",
RowBox[{
"the", " ", "following", " ", "constraints", " ", "hold"}]}],
"*)"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"Type", "\[Equal]", "\"\\""}], "||",
RowBox[{"Type", "\[Equal]", "\"\\""}]}], ")"}], "&&",
RowBox[{"DimComplInters", "\[GreaterEqual]", "2"}]}], ",",
RowBox[{"CalabiYauRestrictions", "=",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"1", ",", "0"}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"DimComplInters", "+", "1"}], ",", "0"}], "}"}]}],
"}"}]}], ",",
RowBox[{"CalabiYauRestrictions", "=",
RowBox[{"{", "}"}]}]}], "]"}], ";", "\[IndentingNewLine]",
"\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Sum", " ", "over", " ", "this", " ", "line", " ", "bundlelist",
" ", "in", " ", "the", " ", "the", " ", "euler", " ",
"sequence"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Euler21Array", "=",
RowBox[{"-", "VectorBundleConstraints"}]}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowKoszul", ",",
RowBox[{"ShowLongExactSequences", "=", "1"}], ",",
RowBox[{"ShowLongExactSequences", "=", "0"}]}], "]"}], ";",
"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{
"Generate", " ", "zero", " ", "vector", " ", "first", " ", "in",
" ", "order", " ", "to", " ", "avoid", " ", "errors", " ",
"calculating", " ", "ambienbt", " ", "space", " ",
"cohomology"}], "*)"}], "\[IndentingNewLine]",
RowBox[{"Euler21", "=",
RowBox[{"Array", "[",
RowBox[{
RowBox[{"0", "&"}], ",",
RowBox[{"DimAmbientSpace", "+", "1"}]}], "]"}]}], ";",
"\[IndentingNewLine]",
RowBox[{"Euler21", "=",
RowBox[{"Euler21", "+",
RowBox[{"Sum", "[",
RowBox[{
RowBox[{"Koszul", "[",
RowBox[{"AmbientSpace", ",", "ComplInters", ",",
RowBox[{"Euler21Array", "[",
RowBox[{"[", "i", "]"}], "]"}]}], "]"}], ",",
RowBox[{"{",
RowBox[{"i", ",", "1", ",",
RowBox[{"Length", "[", "Euler21Array", "]"}]}], "}"}]}],
"]"}]}]}], ";", "\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{"ShowLES", ",", "\[IndentingNewLine]",
RowBox[{
RowBox[{"LabelEuler21", "=",
RowBox[{
"GenerateSequenceLabelExtended", "[", "\[IndentingNewLine]",
RowBox[{"(*",
RowBox[{"Heading", " ", "Fancy"}], "*)"}],
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"Subsuperscript", "[",
RowBox[{
"\"\<\[CirclePlus]\>\"", ",", "\"\\"", ",", "lV"}],
"]"}], "[",
RowBox[{
RowBox[{"Subscript", "[", " ",
RowBox[{"\"\<\[ScriptCapitalO]\>\"", ",", "\"\\""}],
"]"}], "[",
RowBox[{"Subscript", "[",
RowBox[{
RowBox[{"StringJoin", "[",
RowBox[{"\"\<-\>\"", ",", "VbConstrString"}], "]"}], ",",
"\"\