䷬ Gathering Together

This commit is contained in:
nik gaffney 2023-05-26 13:12:57 +02:00
parent 54f19e2dcb
commit ab9eaa445d
Signed by: nik
GPG key ID: 989F5E6EDB478160
2 changed files with 436 additions and 412 deletions

View file

@ -154,325 +154,325 @@ c.f. The Superior man (Legge, Wilhem), Noble young one (Hatcher), 't
(defvar i-ching-hexagram-summary (defvar i-ching-hexagram-summary
'((1 "" '((1 ""
"Hexagram 1 is named 乾 (qián), “Force”. Other variations include “the creative”, “strong action”, “the key”, and “initiating”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is the same." "Hexagram 1 is named 乾 (qián), “Force”. Other variations include “the creative”, “strong action”, “the key”, and “initiating”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is the same."
"THE CREATIVE works sublime success, Furthering through perseverance." "THE CREATIVE works sublime success, Furthering through perseverance."
"The movement of heaven is full of power. Thus, you should become strong and untiring." "The movement of heaven is full of power. Thus, you should become strong and untiring."
"HEXAGRAM FOR THE CREATIVE HEAVEN") "HEXAGRAM FOR THE CREATIVE HEAVEN")
(2 "" (2 ""
"Hexagram 2 is named 坤 (kūn), “Field”. Other variations include “the receptive”, “acquiescence”, and “the flow”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is identical." "Hexagram 2 is named 坤 (kūn), “Field”. Other variations include “the receptive”, “acquiescence”, and “the flow”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is identical."
"THE RECEPTIVE brings about sublime success, Furthering through the perseverance of a mare. If you undertake something and try to lead, things go astray; But if you should follow, you will find guidance. It is favorable to find friends in the west and south, To forego friends in the east and north. Quiet perseverance brings good fortune." "THE RECEPTIVE brings about sublime success, Furthering through the perseverance of a mare. If you undertake something and try to lead, things go astray; But if you should follow, you will find guidance. It is favorable to find friends in the west and south, To forego friends in the east and north. Quiet perseverance brings good fortune."
"The earth's condition is receptive devotion. Thus the person who has breadth of character carries the outer world." "The earth's condition is receptive devotion. Thus the person who has breadth of character carries the outer world."
"HEXAGRAM FOR THE RECEPTIVE EARTH") "HEXAGRAM FOR THE RECEPTIVE EARTH")
(3 "" (3 ""
"Hexagram 3 is named 屯 (zhūn), “Sprouting”. Other variations include “difficulty at the beginning”, “gathering support”, and “hoarding”. Its inner (lower) trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer (upper) trigram is ☵ (坎 kǎn) gorge = (水) water." "Hexagram 3 is named 屯 (zhūn), “Sprouting”. Other variations include “difficulty at the beginning”, “gathering support”, and “hoarding”. Its inner (lower) trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer (upper) trigram is ☵ (坎 kǎn) gorge = (水) water."
"DIFFICULTY AT THE BEGINNING works supreme success, Furthering through perseverance. Nothing should be undertaken. It furthers you to appoint helpers." "DIFFICULTY AT THE BEGINNING works supreme success, Furthering through perseverance. Nothing should be undertaken. It furthers you to appoint helpers."
"Clouds and thunder: The image of DIFFICULTY AT THE BEGINNING. Thus, you should bring order out of confusion." "Clouds and thunder: The image of DIFFICULTY AT THE BEGINNING. Thus, you should bring order out of confusion."
"HEXAGRAM FOR DIFFICULTY AT THE BEGINNING") "HEXAGRAM FOR DIFFICULTY AT THE BEGINNING")
(4 "" (4 ""
"Hexagram 4 is named 蒙 (méng), “Enveloping”. Other variations include “youthful folly”, “the young shoot”, and “discovering”. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water. Its outer trigram is ☶ (艮 gèn) bound = (山) mountain." "Hexagram 4 is named 蒙 (méng), “Enveloping”. Other variations include “youthful folly”, “the young shoot”, and “discovering”. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water. Its outer trigram is ☶ (艮 gèn) bound = (山) mountain."
"YOUTHFUL FOLLY has success. It is not I who seek the young fool; The young fool seeks me. At the first oracle I inform him. If he asks two or three times, it is importunity. If he importunes, I give him no information. Perseverance furthers." "YOUTHFUL FOLLY has success. It is not I who seek the young fool; The young fool seeks me. At the first oracle I inform him. If he asks two or three times, it is importunity. If he importunes, I give him no information. Perseverance furthers."
"A spring wells up at the foot of the mountain: The image of YOUTH. Thus, you should foster your character by thoroughness in all that you do." "A spring wells up at the foot of the mountain: The image of YOUTH. Thus, you should foster your character by thoroughness in all that you do."
"HEXAGRAM FOR YOUTHFUL FOLLY") "HEXAGRAM FOR YOUTHFUL FOLLY")
(5 "" (5 ""
"Hexagram 5 is named 需 (xū), “Attending”. Other variations include “waiting”, “moistened”, and “arriving”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is ☵ (坎 kǎn) gorge = (水) water." "Hexagram 5 is named 需 (xū), “Attending”. Other variations include “waiting”, “moistened”, and “arriving”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is ☵ (坎 kǎn) gorge = (水) water."
"WAITING. If you are sincere, you have light and success. Perseverance brings good fortune. It furthers one to cross the great water." "WAITING. If you are sincere, you have light and success. Perseverance brings good fortune. It furthers one to cross the great water."
"Clouds rise up to heaven: The image of WAITING. Thus, you should eats and drink, be joyous and of good cheer." "Clouds rise up to heaven: The image of WAITING. Thus, you should eats and drink, be joyous and of good cheer."
"HEXAGRAM FOR WAITING") "HEXAGRAM FOR WAITING")
(6 "" (6 ""
"Hexagram 6 is named 訟 (sòng), “Arguing”. Other variations include “conflict” and “lawsuit”. Its inner (lower) trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer (upper) trigram is ☰ (乾 qián) force = (天) heaven." "Hexagram 6 is named 訟 (sòng), “Arguing”. Other variations include “conflict” and “lawsuit”. Its inner (lower) trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer (upper) trigram is ☰ (乾 qián) force = (天) heaven."
"CONFLICT. You are sincere and are being obstructed. A cautious halt halfway brings good fortune. Going through to the end brings misfortune. You should seek advice from someone greater. It will be ineffective to attempt major change." "CONFLICT. You are sincere and are being obstructed. A cautious halt halfway brings good fortune. Going through to the end brings misfortune. You should seek advice from someone greater. It will be ineffective to attempt major change."
"Heaven and water go their opposite ways: The image of CONFLICT. Thus in all your transactions you should carefully consider the beginning." "Heaven and water go their opposite ways: The image of CONFLICT. Thus in all your transactions you should carefully consider the beginning."
"HEXAGRAM FOR CONFLICT") "HEXAGRAM FOR CONFLICT")
(7 "" (7 ""
"Hexagram 7 is named 師 (shī), “Leading”. Other variations include “the army” and “the troops”. Its inner (lower) trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer (upper) trigram is ☷ (坤 kūn) field = (地) earth." "Hexagram 7 is named 師 (shī), “Leading”. Other variations include “the army” and “the troops”. Its inner (lower) trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer (upper) trigram is ☷ (坤 kūn) field = (地) earth."
"THE ARMY needs perseverance and a strong leader. Good fortune without blame." "THE ARMY needs perseverance and a strong leader. Good fortune without blame."
"In the middle of the earth is water: The image of THE ARMY. The Leader nourishes and educates the people, and collects from among them a mighty army." "In the middle of the earth is water: The image of THE ARMY. The Leader nourishes and educates the people, and collects from among them a mighty army."
"HEXAGRAM FOR THE ARMY") "HEXAGRAM FOR THE ARMY")
(8 "" (8 ""
"Hexagram 8 is named 比 (bì), “Grouping”. Other variations include “holding together” and “alliance”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is ☵ (坎 kǎn) gorge = (水) water." "Hexagram 8 is named 比 (bì), “Grouping”. Other variations include “holding together” and “alliance”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is ☵ (坎 kǎn) gorge = (水) water."
"HOLDING TOGETHER brings good fortune. Inquire of the oracle once again whether you possess sublimity, constancy, and perseverance; then there is no blame. Those who are uncertain gradually join. Whoever arrive too late meets with misfortune." "HOLDING TOGETHER brings good fortune. Inquire of the oracle once again whether you possess sublimity, constancy, and perseverance; then there is no blame. Those who are uncertain gradually join. Whoever arrive too late meets with misfortune."
"On the earth is water: The image of HOLDING TOGETHER. Thus the kings of antiquity Bestowed the different states as fiefs and cultivated friendly relations with their feudal lords." "On the earth is water: The image of HOLDING TOGETHER. Thus the kings of antiquity Bestowed the different states as fiefs and cultivated friendly relations with their feudal lords."
"HEXAGRAM FOR HOLDING TOGETHER") "HEXAGRAM FOR HOLDING TOGETHER")
(9 "" (9 ""
"Hexagram 9 is named 小畜 (xiǎo xù), “Small Accumulating”. Other variations include “the taming power of the small” and “small harvest”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is ☴ (巽 xùn) ground = (風) wind." "Hexagram 9 is named 小畜 (xiǎo xù), “Small Accumulating”. Other variations include “the taming power of the small” and “small harvest”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is ☴ (巽 xùn) ground = (風) wind."
"THE TAMING POWER OF THE SMALL Has success. Dense clouds, no rain from our western region." "THE TAMING POWER OF THE SMALL Has success. Dense clouds, no rain from our western region."
"The wind drives across heaven: The image of THE TAMING POWER OF THE SMALL. Thus refine the outward aspect of your nature." "The wind drives across heaven: The image of THE TAMING POWER OF THE SMALL. Thus refine the outward aspect of your nature."
"HEXAGRAM FOR SMALL TAMING") "HEXAGRAM FOR SMALL TAMING")
(10 "" (10 ""
"Hexagram 10 is named 履 (lǚ), “Treading”. Other variations include “treading (conduct)” and “continuing”. Its inner (lower) trigram is ☱ (兌 duì) open = (澤) swamp, and its outer (upper) trigram is ☰ (乾 qián) force = (天) heaven." "Hexagram 10 is named 履 (lǚ), “Treading”. Other variations include “treading (conduct)” and “continuing”. Its inner (lower) trigram is ☱ (兌 duì) open = (澤) swamp, and its outer (upper) trigram is ☰ (乾 qián) force = (天) heaven."
"TREADING. Treading upon the tail of the tiger. It does not bite. Success." "TREADING. Treading upon the tail of the tiger. It does not bite. Success."
"The image of the sky above, and below it the waters of a marsh. Cautious Advance. You should, accordingly, determine what is high and low, and give settlement to the aims of the people." "The image of the sky above, and below it the waters of a marsh. Cautious Advance. You should, accordingly, determine what is high and low, and give settlement to the aims of the people."
"HEXAGRAM FOR TREADING") "HEXAGRAM FOR TREADING")
(11 "" (11 ""
"Hexagram 11 is named 泰 (tài), “Pervading”. Other variations include “peace” and “greatness”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is ☷ (坤 kūn) field = (地) earth." "Hexagram 11 is named 泰 (tài), “Pervading”. Other variations include “peace” and “greatness”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is ☷ (坤 kūn) field = (地) earth."
"PEACE. The small departs, The great approaches. Good fortune. Success." "PEACE. The small departs, The great approaches. Good fortune. Success."
"Heaven and earth unite: the image of PEACE. Thus the ruler divides and completes the course of heaven and earth, and so aids the people." "Heaven and earth unite: the image of PEACE. Thus the ruler divides and completes the course of heaven and earth, and so aids the people."
"HEXAGRAM FOR PEACE") "HEXAGRAM FOR PEACE")
(12 "" (12 ""
"Hexagram 12 is named 否 (pǐ), “Obstruction”. Other variations include “standstill (stagnation)” and “selfish persons”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is ☰ (乾 qián) force = (天) heaven." "Hexagram 12 is named 否 (pǐ), “Obstruction”. Other variations include “standstill (stagnation)” and “selfish persons”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is ☰ (乾 qián) force = (天) heaven."
"STANDSTILL. Evil people do not further your perseverance. The great departs; the small approaches." "STANDSTILL. Evil people do not further your perseverance. The great departs; the small approaches."
"Heaven and earth do not unite: The image of STANDSTILL. Thus, you should fall back upon your inner worth to escape the difficulties, withdrawing from evil, and refusing both honor and wealth." "Heaven and earth do not unite: The image of STANDSTILL. Thus, you should fall back upon your inner worth to escape the difficulties, withdrawing from evil, and refusing both honor and wealth."
"HEXAGRAM FOR STANDSTILL") "HEXAGRAM FOR STANDSTILL")
(13 "" (13 ""
"Hexagram 13 is named 同人 (tóng rén), “Concording People”. Other variations include “fellowship with men” and “gathering men”. Its inner (lower) trigram is ☲ (離 lí) radiance = (火) fire, and its outer (upper) trigram is ☰ (乾 qián) force = (天) heaven." "Hexagram 13 is named 同人 (tóng rén), “Concording People”. Other variations include “fellowship with men” and “gathering men”. Its inner (lower) trigram is ☲ (離 lí) radiance = (火) fire, and its outer (upper) trigram is ☰ (乾 qián) force = (天) heaven."
"FELLOWSHIP in the open. Success. It will be advantageous to cross the great river. It will be advantageous to maintain firm correctness." "FELLOWSHIP in the open. Success. It will be advantageous to cross the great river. It will be advantageous to maintain firm correctness."
"Heaven together with fire: The image of FELLOWSHIP. Thus, you should distinguish things according to their kinds and classes, and make distinctions between things." "Heaven together with fire: The image of FELLOWSHIP. Thus, you should distinguish things according to their kinds and classes, and make distinctions between things."
"HEXAGRAM FOR FELLOWSHIP") "HEXAGRAM FOR FELLOWSHIP")
(14 "" (14 ""
"Hexagram 14 is named 大有 (dà yǒu), “Great Possessing”. Other variations include “possession in great measure” and “the great possession”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is ☲ (離 lí) radiance = (火) fire." "Hexagram 14 is named 大有 (dà yǒu), “Great Possessing”. Other variations include “possession in great measure” and “the great possession”. Its inner (lower) trigram is ☰ (乾 qián) force = (天) heaven, and its outer (upper) trigram is ☲ (離 lí) radiance = (火) fire."
"POSSESSION IN GREAT MEASURE. Supreme success." "POSSESSION IN GREAT MEASURE. Supreme success."
"Fire in heaven above: the image of POSSESSION IN GREAT MEASURE. Thus, you should suppress evil and nurture virtue in accordance with the benevolent will of heaven." "Fire in heaven above: the image of POSSESSION IN GREAT MEASURE. Thus, you should suppress evil and nurture virtue in accordance with the benevolent will of heaven."
"HEXAGRAM FOR GREAT POSSESSION") "HEXAGRAM FOR GREAT POSSESSION")
(15 "" (15 ""
"Hexagram 15 is named 謙 (qiān), “Humbling”. Other variations include “modesty”. Its inner (lower) trigram is ☶ (艮 gèn) bound = (山) mountain and its outer (upper) trigram is ☷ (坤 kūn) field = (地) earth." "Hexagram 15 is named 謙 (qiān), “Humbling”. Other variations include “modesty”. Its inner (lower) trigram is ☶ (艮 gèn) bound = (山) mountain and its outer (upper) trigram is ☷ (坤 kūn) field = (地) earth."
"MODESTY creates success. You should follow things through." "MODESTY creates success. You should follow things through."
"Within the earth, a mountain: The image of MODESTY. Thus, you should reduce that which is too much, and augment that which is too little. Weigh things and make them equal." "Within the earth, a mountain: The image of MODESTY. Thus, you should reduce that which is too much, and augment that which is too little. Weigh things and make them equal."
"HEXAGRAM FOR MODESTY") "HEXAGRAM FOR MODESTY")
(16 "" (16 ""
"Hexagram 16 is named 豫 (yù), “Providing-For”. Other variations include “enthusiasm” and “excess”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is ☳ (震 zhèn) shake = (雷) thunder." "Hexagram 16 is named 豫 (yù), “Providing-For”. Other variations include “enthusiasm” and “excess”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is ☳ (震 zhèn) shake = (雷) thunder."
"ENTHUSIASM. It furthers one to install helpers and to set armies marching." "ENTHUSIASM. It furthers one to install helpers and to set armies marching."
"Thunder comes resounding out of the earth: The image of ENTHUSIASM. Thus the ancient kings made music in order to honour virtue, and offered it with splendour to the Supreme Deity, inviting their ancestors to be present." "Thunder comes resounding out of the earth: The image of ENTHUSIASM. Thus the ancient kings made music in order to honour virtue, and offered it with splendour to the Supreme Deity, inviting their ancestors to be present."
"HEXAGRAM FOR ENTHUSIASM") "HEXAGRAM FOR ENTHUSIASM")
(17 "" (17 ""
"Hexagram 17 is named 隨 (suí), “Following”. Its inner (lower) trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer (upper) trigram is ☱ (兌 duì) open = (澤) swamp." "Hexagram 17 is named 隨 (suí), “Following”. Its inner (lower) trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer (upper) trigram is ☱ (兌 duì) open = (澤) swamp."
"FOLLOWING has supreme success. Perseverance furthers. No blame." "FOLLOWING has supreme success. Perseverance furthers. No blame."
"Thunder in the middle of the lake: The image of FOLLOWING. Thus, you should go indoors at nightfall to rest." "Thunder in the middle of the lake: The image of FOLLOWING. Thus, you should go indoors at nightfall to rest."
"HEXAGRAM FOR FOLLOWING") "HEXAGRAM FOR FOLLOWING")
(18 "" (18 ""
"Hexagram 18 is named 蠱 (gǔ), “Repair”. Other variations include “work on what has been spoiled (decay)”, Correcting, misdeeds, decaying and “branch”.[1] Its inner (lower) trigram is ☴ (巽 xùn) ground = (風) wind, and its outer (upper) trigram is ☶ (艮 gèn) bound = (山) mountain. Gu is the name of a venom-based poison traditionally used in Chinese witchcraft." "Hexagram 18 is named 蠱 (gǔ), “Repair”. Other variations include “work on what has been spoiled (decay)”, Correcting, misdeeds, decaying and “branch”.[1] Its inner (lower) trigram is ☴ (巽 xùn) ground = (風) wind, and its outer (upper) trigram is ☶ (艮 gèn) bound = (山) mountain. Gu is the name of a venom-based poison traditionally used in Chinese witchcraft."
"Successful progress is indicated for those who properly repair what has been spoiled. It is advantageous to cross the great river. You should consider carefully the events three days before the turning point and the tasks remaining for three days afterwards." "Successful progress is indicated for those who properly repair what has been spoiled. It is advantageous to cross the great river. You should consider carefully the events three days before the turning point and the tasks remaining for three days afterwards."
"The wind blows low on the mountain: The image of DECAY. Thus, you should encourage people and strengthen their spirit." "The wind blows low on the mountain: The image of DECAY. Thus, you should encourage people and strengthen their spirit."
"HEXAGRAM FOR WORK ON THE DECAYED") "HEXAGRAM FOR WORK ON THE DECAYED")
(19 "" (19 ""
"Hexagram 19 is named 臨 (lín), “Nearing”. Other variations include “approach” and “the forest”. Its inner (lower) trigram is ☱ (兌 duì) open = (澤) swamp, and its outer (upper) trigram is ☷ (坤 kūn) field = (地) earth." "Hexagram 19 is named 臨 (lín), “Nearing”. Other variations include “approach” and “the forest”. Its inner (lower) trigram is ☱ (兌 duì) open = (澤) swamp, and its outer (upper) trigram is ☷ (坤 kūn) field = (地) earth."
"APPROACH has supreme success. Perseverance. In the Eighth month, there will be misfortune." "APPROACH has supreme success. Perseverance. In the Eighth month, there will be misfortune."
"The earth above the lake: The image of APPROACH. Thus become inexhaustible in your instruction and unflagging in your nourishing support of people." "The earth above the lake: The image of APPROACH. Thus become inexhaustible in your instruction and unflagging in your nourishing support of people."
"HEXAGRAM FOR APPROACH") "HEXAGRAM FOR APPROACH")
(20 "" (20 ""
"Hexagram 20 is named 觀 (guān), “Viewing”. Other variations include “contemplation (view)” and “looking up”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is ☴ (巽 xùn) ground = (風) wind." "Hexagram 20 is named 觀 (guān), “Viewing”. Other variations include “contemplation (view)” and “looking up”. Its inner (lower) trigram is ☷ (坤 kūn) field = (地) earth, and its outer (upper) trigram is ☴ (巽 xùn) ground = (風) wind."
"CONTEMPLATION. The ablution has been made, but not yet the offering. Full of trust they look up to him." "CONTEMPLATION. The ablution has been made, but not yet the offering. Full of trust they look up to him."
"The wind blows over the earth: The image of CONTEMPLATION. Thus the kings of old visited the regions of the world, contemplated the people, and gave them instruction." "The wind blows over the earth: The image of CONTEMPLATION. Thus the kings of old visited the regions of the world, contemplated the people, and gave them instruction."
"HEXAGRAM FOR CONTEMPLATION") "HEXAGRAM FOR CONTEMPLATION")
(21 "" (21 ""
"Hexagram 21 is named 噬嗑 (shì hé), “Gnawing Bite”. Other variations include “biting through” and “biting and chewing”. Its inner (lower) trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☲ (離 lí) radiance = (火) fire." "Hexagram 21 is named 噬嗑 (shì hé), “Gnawing Bite”. Other variations include “biting through” and “biting and chewing”. Its inner (lower) trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☲ (離 lí) radiance = (火) fire."
"BITING THROUGH has success. It is favorable to let justice be administered." "BITING THROUGH has success. It is favorable to let justice be administered."
"Thunder and lighting: The image of BITING THROUGH. Thus the kings of former times made firm the laws through clearly defined penalties." "Thunder and lighting: The image of BITING THROUGH. Thus the kings of former times made firm the laws through clearly defined penalties."
"HEXAGRAM FOR BITING THROUGH") "HEXAGRAM FOR BITING THROUGH")
(22 "" (22 ""
"Hexagram 22 is named 賁 (bì), “Adorning”. Other variations include “grace” and “luxuriance”. Its inner (lower) trigram is ☲ (離 lí) radiance = (火) fire, and its outer (upper) trigram is ☶ (艮 gèn) bound = (山) mountain. [3]" "Hexagram 22 is named 賁 (bì), “Adorning”. Other variations include “grace” and “luxuriance”. Its inner (lower) trigram is ☲ (離 lí) radiance = (火) fire, and its outer (upper) trigram is ☶ (艮 gèn) bound = (山) mountain. [3]"
"GRACE has success. In small matters It is favorable to undertake something." "GRACE has success. In small matters It is favorable to undertake something."
"Fire at the foot of the mountain: The image of GRACE. Thus, you should proceed with clearing up current affairs. But do not decide controversial issues in this way." "Fire at the foot of the mountain: The image of GRACE. Thus, you should proceed with clearing up current affairs. But do not decide controversial issues in this way."
"HEXAGRAM FOR GRACE") "HEXAGRAM FOR GRACE")
(23 "" (23 ""
"Hexagram 23 is named 剝 (bō), “Stripping”. Other variations include “splitting apart” and “flaying”. Its inner trigram is ☷ (坤 kūn) field = (地) earth, and its outer trigram is ☶ (艮 gèn) bound = (山) mountain." "Hexagram 23 is named 剝 (bō), “Stripping”. Other variations include “splitting apart” and “flaying”. Its inner trigram is ☷ (坤 kūn) field = (地) earth, and its outer trigram is ☶ (艮 gèn) bound = (山) mountain."
"SPLITTING APART. IT does not further one to go anywhere." "SPLITTING APART. IT does not further one to go anywhere."
"The mountain rests on the earth: The image of SPLITTING APART. Thus those above can ensure their position only by giving generously to those below." "The mountain rests on the earth: The image of SPLITTING APART. Thus those above can ensure their position only by giving generously to those below."
"HEXAGRAM FOR SPLITTING APART") "HEXAGRAM FOR SPLITTING APART")
(24 "" (24 ""
"Hexagram 24 is named 復 (fù), “Returning”. Other variations include “return (the turning point)”. Its inner trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☷ (坤 kūn) field = (地) earth." "Hexagram 24 is named 復 (fù), “Returning”. Other variations include “return (the turning point)”. Its inner trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☷ (坤 kūn) field = (地) earth."
"RETURN. Success. Going out and coming in without error. Friends come without blame. To and fro goes the way. On the seventh day comes return. It furthers one to have somewhere to go." "RETURN. Success. Going out and coming in without error. Friends come without blame. To and fro goes the way. On the seventh day comes return. It furthers one to have somewhere to go."
"Thunder within the earth: The image of THE TURNING POINT. Thus the kings of antiquity closed the passes at the time of solstice. Merchants and strangers did not go about, and the ruler did not travel through the provinces." "Thunder within the earth: The image of THE TURNING POINT. Thus the kings of antiquity closed the passes at the time of solstice. Merchants and strangers did not go about, and the ruler did not travel through the provinces."
"HEXAGRAM FOR RETURN") "HEXAGRAM FOR RETURN")
(25 "" (25 ""
"Hexagram 25 is named 無妄 (wú wàng), “Without Embroiling”. Other variations include “innocence (the unexpected)” and “pestilence”. Its inner trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☰ (乾 qián) force = (天) heaven." "Hexagram 25 is named 無妄 (wú wàng), “Without Embroiling”. Other variations include “innocence (the unexpected)” and “pestilence”. Its inner trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☰ (乾 qián) force = (天) heaven."
"INNOCENCE. Supreme success. Perseverance furthers. If someone is not as he should be, He has misfortune, And it does not further him To undertake anything." "INNOCENCE. Supreme success. Perseverance furthers. If someone is not as he should be, He has misfortune, And it does not further him To undertake anything."
"Under heaven thunder rolls: All things attain the natural state of innocence. Thus the kings of old, rich in virtue and in harmony with the time, fostered and nourished all beings." "Under heaven thunder rolls: All things attain the natural state of innocence. Thus the kings of old, rich in virtue and in harmony with the time, fostered and nourished all beings."
"HEXAGRAM FOR INNOCENCE") "HEXAGRAM FOR INNOCENCE")
(26 "" (26 ""
"Hexagram 26 is named 大畜 (dà xù), “Great Accumulating”. Other variations include “the taming power of the great”, “great storage”, and “potential energy”. Its inner trigram is ☰ (乾 qián) force = (天) heaven, and its outer trigram is ☶ (艮 gèn) bound = (山) mountain." "Hexagram 26 is named 大畜 (dà xù), “Great Accumulating”. Other variations include “the taming power of the great”, “great storage”, and “potential energy”. Its inner trigram is ☰ (乾 qián) force = (天) heaven, and its outer trigram is ☶ (艮 gèn) bound = (山) mountain."
"THE TAMING POWER OF THE GREAT. Perseverance furthers. Not eating at home brings good fortune. It furthers one to cross the great water." "THE TAMING POWER OF THE GREAT. Perseverance furthers. Not eating at home brings good fortune. It furthers one to cross the great water."
"Heaven within the mountain: The image of THE TAMING POWER OF THE GREAT. Thus, you should acquaint yourself with the sayings of antiquity and many deeds of the past in order to strengthen your character." "Heaven within the mountain: The image of THE TAMING POWER OF THE GREAT. Thus, you should acquaint yourself with the sayings of antiquity and many deeds of the past in order to strengthen your character."
"HEXAGRAM FOR GREAT TAMING") "HEXAGRAM FOR GREAT TAMING")
(27 "" (27 ""
"Hexagram 27 is named 頤 (yí), “Swallowing”. Other variations include “the corners of the mouth (providing nourishment)”, “jaws” and “comfort/security”. Its inner trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☶ (艮 gèn) bound = (山) mountain." "Hexagram 27 is named 頤 (yí), “Swallowing”. Other variations include “the corners of the mouth (providing nourishment)”, “jaws” and “comfort/security”. Its inner trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☶ (艮 gèn) bound = (山) mountain."
"THE CORNERS OF THE MOUTH. Perseverance brings good fortune. Pay heed to the providing of nourishment And to what a man seeks To fill his own mouth with." "THE CORNERS OF THE MOUTH. Perseverance brings good fortune. Pay heed to the providing of nourishment And to what a man seeks To fill his own mouth with."
"At the foot of the mountain, thunder: The image of PROVIDING NOURISHMENT. Thus, you should be careful of your words and temperate in eating and drinking." "At the foot of the mountain, thunder: The image of PROVIDING NOURISHMENT. Thus, you should be careful of your words and temperate in eating and drinking."
"HEXAGRAM FOR MOUTH CORNERS") "HEXAGRAM FOR MOUTH CORNERS")
(28 "" (28 ""
"Hexagram 28 is named 大過 (dà guò), “Great Exceeding”. Other variations include “preponderance of the great”, “great surpassing” and “critical mass”. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☱ (兌 duì) open = (澤) swamp." "Hexagram 28 is named 大過 (dà guò), “Great Exceeding”. Other variations include “preponderance of the great”, “great surpassing” and “critical mass”. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☱ (兌 duì) open = (澤) swamp."
"PREPONDERANCE OF THE GREAT. The ridgepole sags to the breaking point. It furthers one to have somewhere to go. Success." "PREPONDERANCE OF THE GREAT. The ridgepole sags to the breaking point. It furthers one to have somewhere to go. Success."
"The lake rises above the trees: The image of PREPONDERANCE OF THE GREAT. When you stand alone, be unconcerned, and if you must renounce the world, be undaunted." "The lake rises above the trees: The image of PREPONDERANCE OF THE GREAT. When you stand alone, be unconcerned, and if you must renounce the world, be undaunted."
"HEXAGRAM FOR GREAT PREPONDERANCE") "HEXAGRAM FOR GREAT PREPONDERANCE")
(29 "" (29 ""
"Hexagram 29 is named 坎 (kǎn), “Gorge”. Other variations include “the abyss” (in the oceanographic sense) and “repeated entrapment”. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is identical." "Hexagram 29 is named 坎 (kǎn), “Gorge”. Other variations include “the abyss” (in the oceanographic sense) and “repeated entrapment”. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is identical."
"THE ABYSMAL repeated. If you are sincere, you have success in your heart, And whatever you do succeeds." "THE ABYSMAL repeated. If you are sincere, you have success in your heart, And whatever you do succeeds."
"Water flows on uninterruptedly and reaches its goal: The image of THE ABYSMAL (WATER). Walk in lasting virtue and carry on the business of teaching." "Water flows on uninterruptedly and reaches its goal: The image of THE ABYSMAL (WATER). Walk in lasting virtue and carry on the business of teaching."
"HEXAGRAM FOR THE ABYSMAL WATER") "HEXAGRAM FOR THE ABYSMAL WATER")
(30 "" (30 ""
"Hexagram 30 is named 離 (lí), “Radiance”. Other variations include “the clinging, fire” and “the net”. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is identical. The origin of the character has its roots in symbols of long-tailed birds such as the peacock or the legendary phoenix." "Hexagram 30 is named 離 (lí), “Radiance”. Other variations include “the clinging, fire” and “the net”. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is identical. The origin of the character has its roots in symbols of long-tailed birds such as the peacock or the legendary phoenix."
"THE CLINGING. Perseverance furthers. It brings success. Care of the cow brings good fortune." "THE CLINGING. Perseverance furthers. It brings success. Care of the cow brings good fortune."
"That which is bright rises twice: The image of FIRE. Thus, by perpetuating this brightness, you should illuminate the world." "That which is bright rises twice: The image of FIRE. Thus, by perpetuating this brightness, you should illuminate the world."
"HEXAGRAM FOR THE CLINGING FIRE") "HEXAGRAM FOR THE CLINGING FIRE")
(31 "" (31 ""
"Hexagram 31 is named 咸 (xián), “Initiative (Influence)”. Other variations include “influence (wooing)” and “feelings”. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☱ (兌 duì) open = (澤) swamp." "Hexagram 31 is named 咸 (xián), “Initiative (Influence)”. Other variations include “influence (wooing)” and “feelings”. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☱ (兌 duì) open = (澤) swamp."
"Upon fulfillment of the conditions implied in INITIATIVE, there will be free course and success. Advantage depends upon firm correctness, as in marrying a young lady. Good fortune." "Upon fulfillment of the conditions implied in INITIATIVE, there will be free course and success. Advantage depends upon firm correctness, as in marrying a young lady. Good fortune."
"A lake on the mountain: The image of INFLUENCE. You should encourage people to approach you by your readiness to receive them." "A lake on the mountain: The image of INFLUENCE. You should encourage people to approach you by your readiness to receive them."
"HEXAGRAM FOR INFLUENCE") "HEXAGRAM FOR INFLUENCE")
(32 "" (32 ""
"Hexagram 32 is named 恆 (héng), “Persevering”. Other variations include “duration” and “constancy”. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder." "Hexagram 32 is named 恆 (héng), “Persevering”. Other variations include “duration” and “constancy”. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder."
"DURATION. Success. No blame. Progress without error through firm correctness. Movement in any direction is advantageous." "DURATION. Success. No blame. Progress without error through firm correctness. Movement in any direction is advantageous."
"Thunder and wind: the image of DURATION. So stand firm and do not change direction." "Thunder and wind: the image of DURATION. So stand firm and do not change direction."
"HEXAGRAM FOR DURATION") "HEXAGRAM FOR DURATION")
(33 "" (33 ""
"Hexagram 33 is named 遯 (dùn), “Retiring”. Other variations include “retreat”, “yielding”, Withdrawal, Retiring, Wielding, Strategic Withdrawal, Inaccessibility, Disassociation from Inferior Forces. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☰ (乾 qián) force = (天) heaven." "Hexagram 33 is named 遯 (dùn), “Retiring”. Other variations include “retreat”, “yielding”, Withdrawal, Retiring, Wielding, Strategic Withdrawal, Inaccessibility, Disassociation from Inferior Forces. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☰ (乾 qián) force = (天) heaven."
"RETREAT. Success. Advantage comes from firm correctness and attention to details." "RETREAT. Success. Advantage comes from firm correctness and attention to details."
"Mountain under heaven: the image of RETREAT. Thus, you should keep people at a distance by dignified bearing rather than hostility." "Mountain under heaven: the image of RETREAT. Thus, you should keep people at a distance by dignified bearing rather than hostility."
"HEXAGRAM FOR RETREAT") "HEXAGRAM FOR RETREAT")
(34 "" (34 ""
"Hexagram 34 is named 大壯 (dà zhuàng), “Great Invigorating”. Other variations include “the power of the great”, great maturity. Its inner trigram is ☰ (乾 qián) force = (天) heaven, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder." "Hexagram 34 is named 大壯 (dà zhuàng), “Great Invigorating”. Other variations include “the power of the great”, great maturity. Its inner trigram is ☰ (乾 qián) force = (天) heaven, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder."
"GREAT POWER necessitates firm correctness." "GREAT POWER necessitates firm correctness."
"Thunder in heaven above: The image of THE POWER OF THE GREAT. Do not take any step that is not in accordance with propriety." "Thunder in heaven above: The image of THE POWER OF THE GREAT. Do not take any step that is not in accordance with propriety."
"HEXAGRAM FOR GREAT POWER") "HEXAGRAM FOR GREAT POWER")
(35 "" (35 ""
"Hexagram 35 is named 晉 (jìn), “Prospering”. Other variations include “progress” and “aquas”. Its inner trigram is ☷ (坤 kūn) field = (地) earth, and its outer trigram is ☲ (離 lí) radiance = (火) fire." "Hexagram 35 is named 晉 (jìn), “Prospering”. Other variations include “progress” and “aquas”. Its inner trigram is ☷ (坤 kūn) field = (地) earth, and its outer trigram is ☲ (離 lí) radiance = (火) fire."
"PROGRESS. The powerful prince is honored with horses in large numbers. In a single day he is granted audience three times." "PROGRESS. The powerful prince is honored with horses in large numbers. In a single day he is granted audience three times."
"The sun rises over the earth: The image of PROGRESS. Thus, you should increase the brightness of your bright virtue." "The sun rises over the earth: The image of PROGRESS. Thus, you should increase the brightness of your bright virtue."
"HEXAGRAM FOR PROGRESS") "HEXAGRAM FOR PROGRESS")
(36 "" (36 ""
"Hexagram 36 is named 明夷 (míng yí), “Darkening of the Light”. Other variations include “brilliance injured” and “intelligence hidden”. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☷ (坤 kūn) field = (地) earth." "Hexagram 36 is named 明夷 (míng yí), “Darkening of the Light”. Other variations include “brilliance injured” and “intelligence hidden”. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☷ (坤 kūn) field = (地) earth."
"DARKENING OF THE LIGHT. Be aware of the difficulty of your position." "DARKENING OF THE LIGHT. Be aware of the difficulty of your position."
"The light has sunk into the earth: The image of DARKENING OF THE LIGHT. Thus, veil your light yet still shine." "The light has sunk into the earth: The image of DARKENING OF THE LIGHT. Thus, veil your light yet still shine."
"HEXAGRAM FOR DARKENING OF THE LIGHT") "HEXAGRAM FOR DARKENING OF THE LIGHT")
(37 "" (37 ""
"Hexagram 37 is named 家人 (jiā rén), “Dwelling People”. Other variations include “the family (the clan)”, “family members”, Family Life, Clan, Home, Linkage, The Psyche. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☴ (巽 xùn) ground = (風) wind." "Hexagram 37 is named 家人 (jiā rén), “Dwelling People”. Other variations include “the family (the clan)”, “family members”, Family Life, Clan, Home, Linkage, The Psyche. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☴ (巽 xùn) ground = (風) wind."
"THE FAMILY. Perseverance." "THE FAMILY. Perseverance."
"Wind comes forth from fire: The image of THE FAMILY. Thus, you should speak the truth and be consistent in your behaviour." "Wind comes forth from fire: The image of THE FAMILY. Thus, you should speak the truth and be consistent in your behaviour."
"HEXAGRAM FOR THE FAMILY") "HEXAGRAM FOR THE FAMILY")
(38 "" (38 ""
"Hexagram 38 is named 睽 (kuí), “Mutual Alienation”. Other variations include “opposition”, Polarising, The Symbol of Strangeness and Disunion, The Estranged, Opposites, Polarizing, Alienation, Distant From, Perversion, Disharmony, Separated, Contradiction, Estrangement, Incongruity . Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☲ (離 lí) radiance = (火) fire." "Hexagram 38 is named 睽 (kuí), “Mutual Alienation”. Other variations include “opposition”, Polarising, The Symbol of Strangeness and Disunion, The Estranged, Opposites, Polarizing, Alienation, Distant From, Perversion, Disharmony, Separated, Contradiction, Estrangement, Incongruity . Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☲ (離 lí) radiance = (火) fire."
"OPPOSITION. In small matters, good fortune." "OPPOSITION. In small matters, good fortune."
"Above, fire; below. The lake, the image of OPPOSITION. Accept the diversities which make up the whole." "Above, fire; below. The lake, the image of OPPOSITION. Accept the diversities which make up the whole."
"HEXAGRAM FOR OPPOSITION") "HEXAGRAM FOR OPPOSITION")
(39 "" (39 ""
"Hexagram 39 is named 蹇 (jiǎn), “Limping”. Other variations include “obstruction” and “afoot”. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☵ (坎 kǎn) gorge = (水) water." "Hexagram 39 is named 蹇 (jiǎn), “Limping”. Other variations include “obstruction” and “afoot”. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☵ (坎 kǎn) gorge = (水) water."
"During an Impasse advantage is found in the southwest, disadvantage in the northeast. See the great man. Firm correctness brings good fortune." "During an Impasse advantage is found in the southwest, disadvantage in the northeast. See the great man. Firm correctness brings good fortune."
"Water on the mountain: The image of OBSTRUCTION. Thus turn your attention to yourself and mould your character." "Water on the mountain: The image of OBSTRUCTION. Thus turn your attention to yourself and mould your character."
"HEXAGRAM FOR OBSTRUCTION") "HEXAGRAM FOR OBSTRUCTION")
(40 "" (40 ""
"Hexagram 40 is named 解 (jiě), “Liberation”. Other variations include Deliverance, The Symbol of Loosening, Release, Eliminating Obstacles, Taking-apart, Untangled, Solution, Dissolution, Relief, Unloose, Release of Tension. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder." "Hexagram 40 is named 解 (jiě), “Liberation”. Other variations include Deliverance, The Symbol of Loosening, Release, Eliminating Obstacles, Taking-apart, Untangled, Solution, Dissolution, Relief, Unloose, Release of Tension. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder."
"Liberation finds advantage in the southwest. When the operation is completed, a return to stability brings good fortune. If operations are incomplete, it is best to finish them quickly." "Liberation finds advantage in the southwest. When the operation is completed, a return to stability brings good fortune. If operations are incomplete, it is best to finish them quickly."
"Thunder and rain set in: The image of DELIVERANCE. In accordance with this, forgive errors and deal gently with misdeeds." "Thunder and rain set in: The image of DELIVERANCE. In accordance with this, forgive errors and deal gently with misdeeds."
"HEXAGRAM FOR DELIVERANCE") "HEXAGRAM FOR DELIVERANCE")
(41 "" (41 ""
"Hexagram 41 is named 損 (sǔn), “Diminishing”. Other variations include “decrease”. Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☶ (艮 gèn) bound = (山) mountain." "Hexagram 41 is named 損 (sǔn), “Diminishing”. Other variations include “decrease”. Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☶ (艮 gèn) bound = (山) mountain."
"DECREASE sincerely maintained rectitude brings great success. Action is appropriate if one's sacrifice is sincere. How is this to be carried out?" "DECREASE sincerely maintained rectitude brings great success. Action is appropriate if one's sacrifice is sincere. How is this to be carried out?"
"At the foot of the mountain, the lake: The image of DECREASE. You should restrains your wrath and repress your desires." "At the foot of the mountain, the lake: The image of DECREASE. You should restrains your wrath and repress your desires."
"HEXAGRAM FOR DECREASE") "HEXAGRAM FOR DECREASE")
(42 "" (42 ""
"Hexagram 42 is named 益 (yì), “Increase”. Other variations include The Symbol of Addition, Gain, Augmenting, Help from Above, Benefit, Advantage, Profit, Expansion. Its inner trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☴ (巽 xùn) ground = (風) wind." "Hexagram 42 is named 益 (yì), “Increase”. Other variations include The Symbol of Addition, Gain, Augmenting, Help from Above, Benefit, Advantage, Profit, Expansion. Its inner trigram is ☳ (震 zhèn) shake = (雷) thunder, and its outer trigram is ☴ (巽 xùn) ground = (風) wind."
"INCREASE. There is advantage in every movement which shall be undertaken, it will even be advantageous to cross the great river." "INCREASE. There is advantage in every movement which shall be undertaken, it will even be advantageous to cross the great river."
"Wind and thunder: the image of INCREASE. Thus, if you perceive good move toward it and when you perceive your own faults, eliminate them." "Wind and thunder: the image of INCREASE. Thus, if you perceive good move toward it and when you perceive your own faults, eliminate them."
"HEXAGRAM FOR INCREASE") "HEXAGRAM FOR INCREASE")
(43 "" (43 ""
"Hexagram 43 is named 夬 (guài), “Displacement”. Other variations include “resoluteness”, “parting”, and “break-through”. Its inner trigram is ☰ (乾 qián) force = (天) heaven, and its outer trigram is ☱ (兌 duì) open = (澤) swamp." "Hexagram 43 is named 夬 (guài), “Displacement”. Other variations include “resoluteness”, “parting”, and “break-through”. Its inner trigram is ☰ (乾 qián) force = (天) heaven, and its outer trigram is ☱ (兌 duì) open = (澤) swamp."
"BREAKTHROUGH. Recognizing the risks involved in criminal prosecution, justice demands a resolute proof of the culprit's guilt in courts. Inform the city that armed force is not necessary. In this way progress is assured." "BREAKTHROUGH. Recognizing the risks involved in criminal prosecution, justice demands a resolute proof of the culprit's guilt in courts. Inform the city that armed force is not necessary. In this way progress is assured."
"The lake has risen up to heaven: The image of BREAKTHROUGH. In accordance with this, you should not hoard your wealth, but shares it with others" "The lake has risen up to heaven: The image of BREAKTHROUGH. In accordance with this, you should not hoard your wealth, but shares it with others"
"HEXAGRAM FOR BREAKTHROUGH") "HEXAGRAM FOR BREAKTHROUGH")
(44 "" (44 ""
"Hexagram 44 is named 姤 (gòu), “Temptation”. Other variations include Coming to Meet, The Symbol of Meeting, Contact, Encountering, Coupling, Adultery. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☰ (乾 qián) force = (天) heaven." "Hexagram 44 is named 姤 (gòu), “Temptation”. Other variations include Coming to Meet, The Symbol of Meeting, Contact, Encountering, Coupling, Adultery. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☰ (乾 qián) force = (天) heaven."
"COMING TO MEET a woman who is bold and strong. It will not be good to marry her." "COMING TO MEET a woman who is bold and strong. It will not be good to marry her."
"Under heaven, wind: The image of Temptation. The sovereign delivers his charges, and promulgates his announcements throughout the four quarters of the kingdom." "Under heaven, wind: The image of Temptation. The sovereign delivers his charges, and promulgates his announcements throughout the four quarters of the kingdom."
"HEXAGRAM FOR COMING TO MEET") "HEXAGRAM FOR COMING TO MEET")
(45 "" (45 ""
"Hexagram 45 is named 萃 (cuì), “Clustering”. Other variations include “Gathering Together (Contraction)” and “finished”. Its inner trigram is ☷ (坤 kūn) field = (地) earth, and its outer trigram is ☱ (兌 duì) open = (澤) swamp." "Hexagram 45 is named 萃 (cuì), “Clustering”. Other variations include “Gathering Together (Contraction)” and “finished”. Its inner trigram is ☷ (坤 kūn) field = (地) earth, and its outer trigram is ☱ (兌 duì) open = (澤) swamp."
"GATHERING TOGETHER. Success. For successful progress maintain firm correctness. A large sacrifice brings good fortune, proceed toward your destination." "GATHERING TOGETHER. Success. For successful progress maintain firm correctness. A large sacrifice brings good fortune, proceed toward your destination."
"Over the earth, the lake: The image of GATHERING TOGETHER. Thus, you should gather your weapons in readiness for the unexpected." "Over the earth, the lake: The image of GATHERING TOGETHER. Thus, you should gather your weapons in readiness for the unexpected."
"HEXAGRAM FOR GATHERING TOGETHER") "HEXAGRAM FOR GATHERING TOGETHER")
(46 "" (46 ""
"Hexagram 46 is named 升 (shēng), “Pushing Upward”. Other variations include Rising and Advancing, Ascending, Ascension, Rising, Promotion, Advancement, Sprouting from the Earth, Organic Growth. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☷ (坤 kūn) field = (地) earth." "Hexagram 46 is named 升 (shēng), “Pushing Upward”. Other variations include Rising and Advancing, Ascending, Ascension, Rising, Promotion, Advancement, Sprouting from the Earth, Organic Growth. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☷ (坤 kūn) field = (地) earth."
"PUSHING UPWARD means successful progress. Have no anxiety about meeting with important people. An advance to the south is fortunate." "PUSHING UPWARD means successful progress. Have no anxiety about meeting with important people. An advance to the south is fortunate."
"Within the earth, wood grows: The image of PUSHING UPWARD. You should accumulate small things until they become significant." "Within the earth, wood grows: The image of PUSHING UPWARD. You should accumulate small things until they become significant."
"HEXAGRAM FOR PUSHING UPWARD") "HEXAGRAM FOR PUSHING UPWARD")
(47 "" (47 ""
"Hexagram 47 is named 困 (kùn), “Confining”. Other variations include “oppression (exhaustion)” and “entangled”. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is ☱ (兌 duì) open = (澤) swamp." "Hexagram 47 is named 困 (kùn), “Confining”. Other variations include “oppression (exhaustion)” and “entangled”. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is ☱ (兌 duì) open = (澤) swamp."
"OPPRESSION. Successful progress is still possible. The perseverance of the truly great brings good fortune without error; but if you rely on words, no one will believe them." "OPPRESSION. Successful progress is still possible. The perseverance of the truly great brings good fortune without error; but if you rely on words, no one will believe them."
"There is not water in the lake: The image of EXHAUSTION. Be prepared to sacrifice your life to attain your purpose." "There is not water in the lake: The image of EXHAUSTION. Be prepared to sacrifice your life to attain your purpose."
"HEXAGRAM FOR OPPRESSION") "HEXAGRAM FOR OPPRESSION")
(48 "" (48 ""
"Hexagram 48 is named 井 (jǐng), “The Well”. Other variations include Welling, Potentialities Fulfilled, The Source, The Deep Psyche. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☵ (坎 kǎn) gorge = (水) water." "Hexagram 48 is named 井 (jǐng), “The Well”. Other variations include Welling, Potentialities Fulfilled, The Source, The Deep Psyche. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☵ (坎 kǎn) gorge = (水) water."
"THE WELL. The town may be changed but The Well remains the same. Its water level neither disappears nor receives any great increase, and the people can draw from it freely. Misfortune ensues if the rope breaks or the bucket is broken before it reaches the water." "THE WELL. The town may be changed but The Well remains the same. Its water level neither disappears nor receives any great increase, and the people can draw from it freely. Misfortune ensues if the rope breaks or the bucket is broken before it reaches the water."
"Water over wood: the image of THE WELL. Thus, you should comfort people and stimulate their mutual cooperation." "Water over wood: the image of THE WELL. Thus, you should comfort people and stimulate their mutual cooperation."
"HEXAGRAM FOR THE WELL") "HEXAGRAM FOR THE WELL")
(49 "" (49 ""
"Hexagram 49 is named 革 (gé), “Metamorphosis”. Other variations include “Revolution (molting)” Transformation, Skinning, The Bridle, The Symbol of Change, Molting, Leather, Skin, Molt, Cut Off, Changing, Radical Change, Overthrowing. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☱ (兌 duì) open = (澤) swamp." "Hexagram 49 is named 革 (gé), “Metamorphosis”. Other variations include “Revolution (molting)” Transformation, Skinning, The Bridle, The Symbol of Change, Molting, Leather, Skin, Molt, Cut Off, Changing, Radical Change, Overthrowing. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☱ (兌 duì) open = (澤) swamp."
"Metamorphosis is believed in only after it has been accomplished. Firm correctness abolishes regret and brings successful progress." "Metamorphosis is believed in only after it has been accomplished. Firm correctness abolishes regret and brings successful progress."
"Fire in the lake: the image of REVOLUTION. You should synchronise your astronomical calculations to clarify the times and seasons." "Fire in the lake: the image of REVOLUTION. You should synchronise your astronomical calculations to clarify the times and seasons."
"HEXAGRAM FOR REVOLUTION") "HEXAGRAM FOR REVOLUTION")
(50 "" (50 ""
"Hexagram 50 is named 鼎 (dǐng), “The Cauldron”. Other variations include The Sacrificial Vessel, Rejuvenation, Cosmic Order, The Alchemical Vessel. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☲ (離 lí) radiance = (火) fire." "Hexagram 50 is named 鼎 (dǐng), “The Cauldron”. Other variations include The Sacrificial Vessel, Rejuvenation, Cosmic Order, The Alchemical Vessel. Its inner trigram is ☴ (巽 xùn) ground = (風) wind, and its outer trigram is ☲ (離 lí) radiance = (火) fire."
"THE CAULDRON. Great progress and success." "THE CAULDRON. Great progress and success."
"Fire over wood: The image of THE CAULDRON. Thus, you should maintain correctness in every situation." "Fire over wood: The image of THE CAULDRON. Thus, you should maintain correctness in every situation."
"HEXAGRAM FOR THE CAULDRON") "HEXAGRAM FOR THE CAULDRON")
(51 "" (51 ""
"Hexagram 51 is named 震 (zhèn), “Shock”. Other variations include “the arousing (shock, thunder)”, Thunder, The Symbol of Startling Movement, Shake, The Beginning of Movement, Shocking, The Thunderclap, Action, Motion, Sudden Change, Surprise! . Both its inner and outer trigrams are ☳ (震 zhèn) shake = (雷) thunder." "Hexagram 51 is named 震 (zhèn), “Shock”. Other variations include “the arousing (shock, thunder)”, Thunder, The Symbol of Startling Movement, Shake, The Beginning of Movement, Shocking, The Thunderclap, Action, Motion, Sudden Change, Surprise! . Both its inner and outer trigrams are ☳ (震 zhèn) shake = (雷) thunder."
"SHOCK intimates ease and development. When the time of movement which it indicates comes, the subject of the hexagram will be found looking out with apprehension, and yet smiling and talking cheerfully. When the movement like a crash of thunder terrifies all within a hundred miles, he will be like the sincere worshipper who is not startled into dropping his ladle and cup of sacrificial spirits." "SHOCK intimates ease and development. When the time of movement which it indicates comes, the subject of the hexagram will be found looking out with apprehension, and yet smiling and talking cheerfully. When the movement like a crash of thunder terrifies all within a hundred miles, he will be like the sincere worshipper who is not startled into dropping his ladle and cup of sacrificial spirits."
"Thunder repeated: the image of SHOCK. You should remain fearful and apprehensive, cultivate virtue, and examine your faults." "Thunder repeated: the image of SHOCK. You should remain fearful and apprehensive, cultivate virtue, and examine your faults."
"HEXAGRAM FOR THE AROUSING THUNDER") "HEXAGRAM FOR THE AROUSING THUNDER")
(52 "" (52 ""
"Hexagram 52 is named 艮 (gèn), “Keeping Still”. Other variations include Mountain, The Symbol of Checking and Stopping, Desisting, Stilling, Stillness, Stoppage, Bound, Reposing, Resting, Meditation, Non-action, Stopping, Arresting Movement. Both its inner and outer trigrams are ☶ (艮 gèn) bound = (山) mountain." "Hexagram 52 is named 艮 (gèn), “Keeping Still”. Other variations include Mountain, The Symbol of Checking and Stopping, Desisting, Stilling, Stillness, Stoppage, Bound, Reposing, Resting, Meditation, Non-action, Stopping, Arresting Movement. Both its inner and outer trigrams are ☶ (艮 gèn) bound = (山) mountain."
"KEEPING STILL and losing all consciousness of self. When you walk in the courtyard and do not see people, there will be no error." "KEEPING STILL and losing all consciousness of self. When you walk in the courtyard and do not see people, there will be no error."
"Mountains standing close together: The image of KEEPING STILL. Do not allow your thoughts to go beyond the duties of your immediate circumstances." "Mountains standing close together: The image of KEEPING STILL. Do not allow your thoughts to go beyond the duties of your immediate circumstances."
"HEXAGRAM FOR THE KEEPING STILL MOUNTAIN") "HEXAGRAM FOR THE KEEPING STILL MOUNTAIN")
(53 "" (53 ""
"Hexagram 53 is named 漸 (jiàn), “Infiltrating”. Other variations include “Development (gradual progress)”, Advancing, Growth, Developing, Gradualness, Dialectical Progression. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☴ (巽 xùn) ground = (風) wind." "Hexagram 53 is named 漸 (jiàn), “Infiltrating”. Other variations include “Development (gradual progress)”, Advancing, Growth, Developing, Gradualness, Dialectical Progression. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☴ (巽 xùn) ground = (風) wind."
"DEVELOPMENT shows the good fortune in attending the marriage of a young lady. Firm correctness brings advantage." "DEVELOPMENT shows the good fortune in attending the marriage of a young lady. Firm correctness brings advantage."
"On the mountain, a tree: The image of DEVELOPMENT. Thus, you should attain and nourish extraordinary virtue to improve the manners of the people." "On the mountain, a tree: The image of DEVELOPMENT. Thus, you should attain and nourish extraordinary virtue to improve the manners of the people."
"HEXAGRAM FOR DEVELOPMENT") "HEXAGRAM FOR DEVELOPMENT")
(54 "" (54 ""
"Hexagram 54 is named 歸妹 (guī mèi), “Propriety”. Other variations include “the marrying maiden” and “returning maiden”. Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder." "Hexagram 54 is named 歸妹 (guī mèi), “Propriety”. Other variations include “the marrying maiden” and “returning maiden”. Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder."
"Propriety indicates that action will be evil, and in no way advantageous." "Propriety indicates that action will be evil, and in no way advantageous."
"Thunder over the lake: The image of PROPRIETY. Thus, you should have regard for the far-distant end, and know the mischief that may be done at the beginning." "Thunder over the lake: The image of PROPRIETY. Thus, you should have regard for the far-distant end, and know the mischief that may be done at the beginning."
"HEXAGRAM FOR THE MARRYING MAIDEN") "HEXAGRAM FOR THE MARRYING MAIDEN")
(55 "" (55 ""
"Hexagram 55 is named 豐 (fēng), “Abundance”. Other variations include Fullness, The Symbol of Prosperity, Greatness, Abounding, Richness, Prolific, Fruitful, Luxuriant, Zenith, Affluence, Correct Action, Lucid Behavior. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder." "Hexagram 55 is named 豐 (fēng), “Abundance”. Other variations include Fullness, The Symbol of Prosperity, Greatness, Abounding, Richness, Prolific, Fruitful, Luxuriant, Zenith, Affluence, Correct Action, Lucid Behavior. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder."
"ABUNDANCE has success, progress and development. When the king is enlightened there is no need to fear change. Let him be as the sun at noon." "ABUNDANCE has success, progress and development. When the king is enlightened there is no need to fear change. Let him be as the sun at noon."
"Both thunder and lightning come: The image of ABUNDANCE. Thus, you should decide carefully on judgements and apportion punishment with exactness." "Both thunder and lightning come: The image of ABUNDANCE. Thus, you should decide carefully on judgements and apportion punishment with exactness."
"HEXAGRAM FOR ABUNDANCE") "HEXAGRAM FOR ABUNDANCE")
(56 "" (56 ""
"Hexagram 56 is named 旅 (lǚ), “Transition”. Other variations include The Wanderer, The Symbol of the Traveler, The Exile, Sojourning, The Newcomer, To Lodge, Travelling, The Stranger, The Traveling Stranger, The Outsider, Wandering, Uncommitted. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☲ (離 lí) radiance = (火) fire." "Hexagram 56 is named 旅 (lǚ), “Transition”. Other variations include The Wanderer, The Symbol of the Traveler, The Exile, Sojourning, The Newcomer, To Lodge, Travelling, The Stranger, The Traveling Stranger, The Outsider, Wandering, Uncommitted. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☲ (離 lí) radiance = (火) fire."
"TRANSITION means that small attainments are possible. If the traveling stranger is firm and correct, there will be good fortune." "TRANSITION means that small attainments are possible. If the traveling stranger is firm and correct, there will be good fortune."
"Fire on the mountain: The image of THE WANDERER. Thus, you should exert cautious wisdom in punishments, and do not permit prolonged litigation." "Fire on the mountain: The image of THE WANDERER. Thus, you should exert cautious wisdom in punishments, and do not permit prolonged litigation."
"HEXAGRAM FOR THE WANDERER") "HEXAGRAM FOR THE WANDERER")
(57 "" (57 ""
"Hexagram 57 is named 巽 (xùn), “Ground”. Other variations include “the gentle (the penetrating, wind)” and “calculations”. Both its inner and outer trigrams are ☴ (巽 xùn) ground = (風) wind." "Hexagram 57 is named 巽 (xùn), “Ground”. Other variations include “the gentle (the penetrating, wind)” and “calculations”. Both its inner and outer trigrams are ☴ (巽 xùn) ground = (風) wind."
"THE GENTLE. Modest success. Look for important people and move in the direction that implies." "THE GENTLE. Modest success. Look for important people and move in the direction that implies."
"Wind following wind upon the other: You should articulate your directions and undertakes your work." "Wind following wind upon the other: You should articulate your directions and undertakes your work."
"HEXAGRAM FOR THE GENTLE WIND") "HEXAGRAM FOR THE GENTLE WIND")
(58 "" (58 ""
"Hexagram 58 is named 兌 (duì), “Joy”. Other variations include The Joyous, Joyousness, Pleased Satisfaction, Encouraging, Delight, Open, Usurpation, Self-indulgence, Pleasure, Cheerfulness, Frivolity, Callow Optimism. Both its inner and outer trigrams are ☱ (兌 duì) open = (澤) swamp." "Hexagram 58 is named 兌 (duì), “Joy”. Other variations include The Joyous, Joyousness, Pleased Satisfaction, Encouraging, Delight, Open, Usurpation, Self-indulgence, Pleasure, Cheerfulness, Frivolity, Callow Optimism. Both its inner and outer trigrams are ☱ (兌 duì) open = (澤) swamp."
"JOY intimates that under its conditions there will be progress and attainment, but it will be advantageous to be firm and correct." "JOY intimates that under its conditions there will be progress and attainment, but it will be advantageous to be firm and correct."
"Lakes resting one on the other: The image of JOY. Thus, you should encourage the conversation of friends and the stimulus of their common practice." "Lakes resting one on the other: The image of JOY. Thus, you should encourage the conversation of friends and the stimulus of their common practice."
"HEXAGRAM FOR THE JOYOUS LAKE") "HEXAGRAM FOR THE JOYOUS LAKE")
(59 "" (59 ""
"Hexagram 59 is named 渙 (huàn), “Expansion (Dispersion)”. Other variations include Dissolution, Disintegration, Dispersal, Overcoming Dissension, Scattering, Dispersing, Unintegrated, Reuniting, Evaporation, Reorganization. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is ☴ (巽 xùn) ground = (風) wind." "Hexagram 59 is named 渙 (huàn), “Expansion (Dispersion)”. Other variations include Dissolution, Disintegration, Dispersal, Overcoming Dissension, Scattering, Dispersing, Unintegrated, Reuniting, Evaporation, Reorganization. Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is ☴ (巽 xùn) ground = (風) wind."
"DISPERSION intimates that there will be progress and success. The king goes to his ancestral temple. It will be advantageous to cross the great river. It will be advantageous to be firm and correct." "DISPERSION intimates that there will be progress and success. The king goes to his ancestral temple. It will be advantageous to cross the great river. It will be advantageous to be firm and correct."
"The wind drives over the water: The image of EXPANSION. The ancient kings, in accordance with this, presented offerings to God and established the ancestral temple." "The wind drives over the water: The image of EXPANSION. The ancient kings, in accordance with this, presented offerings to God and established the ancestral temple."
"HEXAGRAM FOR DISPERSION") "HEXAGRAM FOR DISPERSION")
(60 "" (60 ""
"Hexagram 60 is named 節 (jié), “Limitation”. Other variations include Restraint, Regulations, Articulating, Receipt, Restraining, Containment. Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☵ (坎 kǎn) gorge = (水) water." "Hexagram 60 is named 節 (jié), “Limitation”. Other variations include Restraint, Regulations, Articulating, Receipt, Restraining, Containment. Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☵ (坎 kǎn) gorge = (水) water."
"LIMITATION bring progress and success, but if they are severe and difficult they cannot be permanent." "LIMITATION bring progress and success, but if they are severe and difficult they cannot be permanent."
"Water over lake: the image of LIMITATION. You should construct methods of numbering and measurement, and examine the nature of virtuous conduct." "Water over lake: the image of LIMITATION. You should construct methods of numbering and measurement, and examine the nature of virtuous conduct."
"HEXAGRAM FOR LIMITATION") "HEXAGRAM FOR LIMITATION")
(61 "" (61 ""
"Hexagram 61 is named 中孚 (zhōng fú), “Inner Truth”. Other variations include Inward Confidence, Inner Truthfulness, Sincerity, Centering- Conforming, Central Return, Faithfulness in the Center, Sincerity in the Center, Insight, Understanding. Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☴ (巽 xùn) ground = (風) wind." "Hexagram 61 is named 中孚 (zhōng fú), “Inner Truth”. Other variations include Inward Confidence, Inner Truthfulness, Sincerity, Centering- Conforming, Central Return, Faithfulness in the Center, Sincerity in the Center, Insight, Understanding. Its inner trigram is ☱ (兌 duì) open = (澤) swamp, and its outer trigram is ☴ (巽 xùn) ground = (風) wind."
"INNER TRUTH moves even pigs and fish, and leads to good fortune. There will be advantage in crossing the great river. There will be advantage in being firm and correct." "INNER TRUTH moves even pigs and fish, and leads to good fortune. There will be advantage in crossing the great river. There will be advantage in being firm and correct."
"Wind over lake: the image of INNER TRUTH. Thus, you should deliberate about judgement and delay the infliction of death." "Wind over lake: the image of INNER TRUTH. Thus, you should deliberate about judgement and delay the infliction of death."
"HEXAGRAM FOR INNER TRUTH") "HEXAGRAM FOR INNER TRUTH")
(62 "" (62 ""
"Hexagram 62 is named 小過 (xiǎo guò), “Small Powers”. Other variations include Preponderance of the Small, The Symbol of Excess in Small Things, The Small get by, Slight Excess, Small Exceeding, Small Surpassing, Excess of the Small, Small gains, Conscientiousness, Smallness in Excess, Exceeding the Mean, Proliferation of Details. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder." "Hexagram 62 is named 小過 (xiǎo guò), “Small Powers”. Other variations include Preponderance of the Small, The Symbol of Excess in Small Things, The Small get by, Slight Excess, Small Exceeding, Small Surpassing, Excess of the Small, Small gains, Conscientiousness, Smallness in Excess, Exceeding the Mean, Proliferation of Details. Its inner trigram is ☶ (艮 gèn) bound = (山) mountain, and its outer trigram is ☳ (震 zhèn) shake = (雷) thunder."
"PREPONDERANCE OF THE SMALL. Success. There will be progress and attainment in small affairs, but not in great affairs. It will be advantageous to be firm and correct. It is like the song of a flying bird: It is better to descend than to ascend. In this way there will be good fortune." "PREPONDERANCE OF THE SMALL. Success. There will be progress and attainment in small affairs, but not in great affairs. It will be advantageous to be firm and correct. It is like the song of a flying bird: It is better to descend than to ascend. In this way there will be good fortune."
"Thunder on the mountain: The image of PREPONDERANCE OF THE SMALL. Thus, in your conduct exceed in humility, in mourning exceed in sorrow, and in expenditure exceed in economy." "Thunder on the mountain: The image of PREPONDERANCE OF THE SMALL. Thus, in your conduct exceed in humility, in mourning exceed in sorrow, and in expenditure exceed in economy."
"HEXAGRAM FOR SMALL PREPONDERANCE") "HEXAGRAM FOR SMALL PREPONDERANCE")
(63 "" (63 ""
"Hexagram 63 is named 既濟 (jì jì), “Completion”. Other variations include After Completion, The Symbol of What is Already Past, Already Fording, Already Completed, Settled, Mission Accomplished, Tasks Completed. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☵ (坎 kǎn) gorge = (水) water." "Hexagram 63 is named 既濟 (jì jì), “Completion”. Other variations include After Completion, The Symbol of What is Already Past, Already Fording, Already Completed, Settled, Mission Accomplished, Tasks Completed. Its inner trigram is ☲ (離 lí) radiance = (火) fire, and its outer trigram is ☵ (坎 kǎn) gorge = (水) water."
"COMPLETION intimates progress and success in small matters. There is advantage in firm correctness. There has been good fortune in the beginning; there may be disorder in the end." "COMPLETION intimates progress and success in small matters. There is advantage in firm correctness. There has been good fortune in the beginning; there may be disorder in the end."
"Water over fire: the image of the condition in COMPLETION. Thus, you should think of the difficulties that may come, and guard against them in advance." "Water over fire: the image of the condition in COMPLETION. Thus, you should think of the difficulties that may come, and guard against them in advance."
"HEXAGRAM FOR AFTER COMPLETION") "HEXAGRAM FOR AFTER COMPLETION")
(64 "䷿" (64 "䷿"
"Hexagram 64 is named 未濟 (wèi jì), “Before Completion”. Other variations include Unfinished Business, Not-yet Fording, Not Yet Completed, Tasks yet to be Completed, Before the End, A State of Transition . Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is ☲ (離 lí) radiance = (火) fire." "Hexagram 64 is named 未濟 (wèi jì), “Before Completion”. Other variations include Unfinished Business, Not-yet Fording, Not Yet Completed, Tasks yet to be Completed, Before the End, A State of Transition . Its inner trigram is ☵ (坎 kǎn) gorge = (水) water, and its outer trigram is ☲ (離 lí) radiance = (火) fire."
"BEFORE COMPLETION. Success. But if the young fox, that has nearly crossed the stream, gets his tail wet there will be no advantage." "BEFORE COMPLETION. Success. But if the young fox, that has nearly crossed the stream, gets his tail wet there will be no advantage."
"The image of the condition before transition. Thus, you should carefully discriminate among the qualities of things, so that each can find its place." "The image of the condition before transition. Thus, you should carefully discriminate among the qualities of things, so that each can find its place."
"HEXAGRAM FOR BEFORE COMPLETION")) "HEXAGRAM FOR BEFORE COMPLETION"))
"The Hexagrams. Their name, description, judgment and image. Basis for interpretation.") "The Hexagrams. Their name, description, judgment and image. Basis for interpretation.")
@ -502,11 +502,11 @@ c.f. The Superior man (Legge, Wilhem), Noble young one (Hatcher), 't
;; predicate ;; predicate
(defun i-ching-hexagram-p (input) (defun i-ching-hexagram-p (input)
"A predicate for testing if the INPUT is a Hexagram." "A predicate for testing if the INPUT is a Hexagram."
(if (char-or-string-p input) (if (char-or-string-p input)
(when (rassoc input i-ching-sequence-king-wen) (when (rassoc input i-ching-sequence-king-wen)
t) t)
nil)) nil))
;; textual ;; textual
@ -545,13 +545,13 @@ c.f. The Superior man (Legge, Wilhem), Noble young one (Hatcher), 't
(let* ((hexagrams i-ching-hexagram-summary) (let* ((hexagrams i-ching-hexagram-summary)
(selection (buffer-substring point mark)) (selection (buffer-substring point mark))
(hexagram (hexagram
(nth 4 (alist-get (nth 4 (alist-get
(i-ching-hexagram-to-number selection) (i-ching-hexagram-to-number selection)
hexagrams)))) hexagrams))))
(message "%s" (if hexagram (message "%s" (if hexagram
(capitalize (seq-drop hexagram 13)) (capitalize (seq-drop hexagram 13))
"Not a hexagram"))) "Not a hexagram")))
(message "Nothing selected"))) (message "Nothing selected")))
;;;;; ; ; ; ; ;;;;; ; ; ; ;
@ -569,20 +569,19 @@ Depending on the context and circumstance some methods may be more suitable.
see: `i-ching-divination-method' & `i-ching-randomness-source' for details." see: `i-ching-divination-method' & `i-ching-randomness-source' for details."
(interactive) (interactive)
(message "casting hexagram using: %s"
(if method method i-ching-divination-method))
(let ((method-function (let ((method-function
(when (not method) (pcase (or method i-ching-divination-method)
(let ((method i-ching-divination-method)) ;; the casting method should return a hexagram (or changing hexagram)
(message "casting hexagram using: %s" method) ('3-coins #'i-ching--three-coins)
(pcase method ('yarrow-stalks #'i-ching--yarrow-stalks)
;; the casting method should return a hexagram (or changing hexagram) ('6-bit #'i-ching--random-number)
('3-coins #'i-ching--three-coins) ('4-coins (message "unimplemented"))
('yarrow-stalks #'i-ching--yarrow-stalks) ('bagua (message "unimplemented"))
('6-bit #'i-ching--random-number) ('cheezburger (message "LOL"))
('4-coins (message "unimplemented")) (_
('bagua (message "unimplemented")) #'i-ching--random-number))))
('cheezburger (message "LOL"))
(_
#'i-ching--random-number))))))
(when method-function (when method-function
(let* ((line-1 (funcall method-function)) (let* ((line-1 (funcall method-function))
(line-2 (funcall method-function)) (line-2 (funcall method-function))
@ -626,9 +625,9 @@ see: `i-ching-divination-method' & `i-ching-randomness-source' for details."
;; the two hexagrams the same if there are no changing lines ;; the two hexagrams the same if there are no changing lines
(if (eql hexagram hexagram-changing) (if (eql hexagram hexagram-changing)
(i-ching-binary-to-hexagram hexagram) (i-ching-binary-to-hexagram hexagram)
(format "%s→%s" (format "%s→%s"
(i-ching-binary-to-hexagram hexagram) (i-ching-binary-to-hexagram hexagram)
(i-ching-binary-to-hexagram hexagram-changing)))))))) (i-ching-binary-to-hexagram hexagram-changing))))))))
;;;###autoload ;;;###autoload
@ -638,15 +637,15 @@ see: `i-ching-divination-method' & `i-ching-randomness-source' for details."
(insert (insert
(if number (if number
(i-ching-number-to-hexagram number) (i-ching-number-to-hexagram number)
(i-ching-cast)))) (i-ching-cast))))
;;;###autoload ;;;###autoload
(defun i-ching-insert-hexagram-and-name (&optional number) (defun i-ching-insert-hexagram-and-name (&optional number)
"Insert a hexagram either by casting or it's NUMBER in the King Wen sequence." "Insert a hexagram either by casting or it's NUMBER in the King Wen sequence."
(interactive) (interactive)
(let ((hexagram (if number (let ((hexagram (if number
number number
(i-ching-random 64)))) (i-ching-random 64))))
(insert (i-ching-hexagram-and-name-string hexagram)))) (insert (i-ching-hexagram-and-name-string hexagram))))
@ -656,7 +655,7 @@ see: `i-ching-divination-method' & `i-ching-randomness-source' for details."
(interactive) (interactive)
(let ((hexagram (if number (let ((hexagram (if number
number number
(i-ching-random 64)))) (i-ching-random 64))))
(format "%s %s" (format "%s %s"
(i-ching-number-to-hexagram hexagram) (i-ching-number-to-hexagram hexagram)
(i-ching-number-to-name hexagram)))) (i-ching-number-to-name hexagram))))
@ -669,50 +668,47 @@ see: `i-ching-divination-method' & `i-ching-randomness-source' for details."
;;; ; ; ;; ;;; ; ; ;;
(defun i-ching-random (n &optional source) (defun i-ching-random (n &optional source)
"Return a random integer from 1 to N inclusive (possibly with a specific SOURCE of randomness)." "Return a random integer from 1 to N inclusive.
(when (not source) (setq source i-ching-randomness-source)) Optionally with a specific SOURCE of randomness."
(message "randomness source: %s" source) (message "Using randomness source: %s"
(pcase source (if source source i-ching-randomness-source))
('quantum (pcase n (+ 1
(64 (i-ching-q64)) (mod
(_ (/ (i-ching-q64) (/ 64 n))))) (pcase (or source i-ching-randomness-source)
('atmospheric (pcase n ('quantum (i-ching-q64))
(64 (i-ching-r64)) ('atmospheric (i-ching-r64))
(_ (/ (i-ching-r64) (/ 64 n))))) ('pseudo (random n))
('pseudo (+ 1 (random n))) (_ (random n)))
(_ n)))
(+ 1 (random n)))))
(defun i-ching-q64 () (defun i-ching-q64 ()
"Genuine Quantum Randomness™ from quantum fluctuations of the vacuum [1..64]. "Genuine Quantum Randomness™ from quantum fluctuations of the vacuum [0..63].
Provided by ANU QRNG via https://qrng.anu.edu.au/" Provided by ANU QRNG via https://qrng.anu.edu.au/"
(let ((numeric 0)) (let ((numeric 0))
(request (request
"https://qrng.anu.edu.au/API/jsonI.php?length=1&type=hex16&size=1" "https://qrng.anu.edu.au/API/jsonI.php?length=1&type=hex16&size=1"
:sync t :sync t
:parser 'json-read :parser 'json-read
:success (cl-function :success (cl-function
(lambda (&key data &allow-other-keys) (lambda (&key data &allow-other-keys)
(setq (setq
numeric numeric
(/ (string-to-number (/ (string-to-number
(elt (alist-get 'data data) 0) 16) (elt (alist-get 'data data) 0) 16)
4))))) 4)))))
numeric)) numeric))
(defun i-ching-r64 () (defun i-ching-r64 ()
"True random numbers from atmospheric noise [1..64]. "True random numbers from atmospheric noise [0..63].
Provided by Randomness and Integrity Services Ltd. via https://www.random.org/" Provided by Randomness and Integrity Services Ltd. via https://www.random.org/"
(let ((numeric 0)) (let ((numeric 0))
(request (request
"https://www.random.org/integers/?num=1&min=1&max=64&col=1&base=10&format=plain&rnd=new" "https://www.random.org/integers/?num=1&min=0&max=63&col=1&base=10&format=plain&rnd=new"
:sync t :sync t
;; :parser 'json-read ;; :parser 'json-read
:success (cl-function :success (cl-function
(lambda (&key data &allow-other-keys) (lambda (&key data &allow-other-keys)
(setf numeric (string-to-number data))))) (setf numeric (string-to-number data)))))
numeric)) numeric))
@ -733,9 +729,9 @@ Provided by Randomness and Integrity Services Ltd. via https://www.random.org/"
(defun i-ching--random-number () (defun i-ching--random-number ()
"Random line selection (unchanging)..." "Random line selection (unchanging)..."
(pcase (i-ching-random 2) (pcase (i-ching-random 2)
(1 '(1 1)) ;; yang (1 '(1 1)) ;; yang
(2 '(0 0)) ;; yin (2 '(0 0)) ;; yin
)) ))
(defun i-ching--coin-toss () (defun i-ching--coin-toss ()
"Simulate tossing a coin where H=2 and T=3." "Simulate tossing a coin where H=2 and T=3."
@ -750,11 +746,11 @@ Provided by Randomness and Integrity Services Ltd. via https://www.random.org/"
(i-ching--coin-toss)))) (i-ching--coin-toss))))
;; single hexagram. no changing lines ;; single hexagram. no changing lines
(pcase result (pcase result
(6 '(0 1)) ;; yin changing (6 '(0 1)) ;; yin changing
(7 '(1 1)) ;; yang (7 '(1 1)) ;; yang
(8 '(0 0)) ;; yin (8 '(0 0)) ;; yin
(9 '(1 0)) ;; yang changing (9 '(1 0)) ;; yang changing
))) )))
(defun i-ching--yarrow-stalks () (defun i-ching--yarrow-stalks ()
"Cast simulated yarrow stalks, return a value for a line, or changing line..." "Cast simulated yarrow stalks, return a value for a line, or changing line..."
@ -770,7 +766,7 @@ Provided by Randomness and Integrity Services Ltd. via https://www.random.org/"
(dotimes (_ yarrow-stalks) (dotimes (_ yarrow-stalks)
(if (= 1 (i-ching-random 2)) (if (= 1 (i-ching-random 2))
(setq east (1+ east)) (setq east (1+ east))
(setq west (1+ west)))) (setq west (1+ west))))
;; One stalk is taken from the east bundle and placed between the fingers of the left hand ;; One stalk is taken from the east bundle and placed between the fingers of the left hand
(setq east (1- east)) (setq east (1- east))
(setq left (1+ left)) (setq left (1+ left))
@ -794,7 +790,7 @@ Provided by Randomness and Integrity Services Ltd. via https://www.random.org/"
(dotimes (_ yarrow-stalks) (dotimes (_ yarrow-stalks)
(if (= 1 (i-ching-random 2)) (if (= 1 (i-ching-random 2))
(setq east (1+ east)) (setq east (1+ east))
(setq west (1+ west)))) (setq west (1+ west))))
;; One stalk is taken from the east bundle and placed between the fingers of the left hand ;; One stalk is taken from the east bundle and placed between the fingers of the left hand
(setq east (1- east)) (setq east (1- east))
(setq left (1+ left)) (setq left (1+ left))
@ -811,7 +807,7 @@ Provided by Randomness and Integrity Services Ltd. via https://www.random.org/"
;; eight stalks results in the value of 2, four stalks results in the value of 3 ;; eight stalks results in the value of 2, four stalks results in the value of 3
(if (= 8 left) (if (= 8 left)
(setq result (+ result 2)) (setq result (+ result 2))
(setq result (+ result 3))) (setq result (+ result 3)))
;; These stalks are set aside and the remaining bundle of 32, 36 or 40 stalks is divided ;; These stalks are set aside and the remaining bundle of 32, 36 or 40 stalks is divided
;; and counted out in the same manner for a third operation ;; and counted out in the same manner for a third operation
@ -821,7 +817,7 @@ Provided by Randomness and Integrity Services Ltd. via https://www.random.org/"
(dotimes (_ yarrow-stalks) (dotimes (_ yarrow-stalks)
(if (= 1 (i-ching-random 2)) (if (= 1 (i-ching-random 2))
(setq east (1+ east)) (setq east (1+ east))
(setq west (1+ west)))) (setq west (1+ west))))
;; One stalk is taken from the east bundle and placed between the fingers of the left hand ;; One stalk is taken from the east bundle and placed between the fingers of the left hand
(setq east (1- east)) (setq east (1- east))
(setq left (1+ left)) (setq left (1+ left))
@ -837,14 +833,14 @@ Provided by Randomness and Integrity Services Ltd. via https://www.random.org/"
;; eight stalks results in the value of 2, four stalks results in the value of 3 ;; eight stalks results in the value of 2, four stalks results in the value of 3
(if (= 8 left) (if (= 8 left)
(setq result (+ result 2)) (setq result (+ result 2))
(setq result (+ result 3))) (setq result (+ result 3)))
;; three values are now added together to produce a total of 6, 7, 8, or 9 ;; three values are now added together to produce a total of 6, 7, 8, or 9
(pcase result (pcase result
(6 '(0 1)) ;; yin changing (6 '(0 1)) ;; yin changing
(7 '(1 1)) ;; yang (7 '(1 1)) ;; yang
(8 '(0 0)) ;; yin (8 '(0 0)) ;; yin
(9 '(1 0)) ;; yang changing (9 '(1 0)) ;; yang changing
))) )))
;; interpreting a hexagram ;; interpreting a hexagram
@ -855,15 +851,15 @@ Provided by Randomness and Integrity Services Ltd. via https://www.random.org/"
The hexagram can be entered as a string, or by number." The hexagram can be entered as a string, or by number."
(interactive "sHexagram number? " hexagram) (interactive "sHexagram number? " hexagram)
(let ((hexagram-number (let ((hexagram-number
(pcase hexagram (pcase hexagram
((pred numberp) hexagram) ((pred numberp) hexagram)
((pred i-ching-hexagram-p) ((pred i-ching-hexagram-p)
(i-ching-hexagram-to-number hexagram))))) (i-ching-hexagram-to-number hexagram)))))
(format "%s\n\n%s\n\nJudgment: %s\n\nImage: %s\n\n" (format "%s\n\n%s\n\nJudgment: %s\n\nImage: %s\n\n"
(i-ching-number-to-hexagram hexagram-number) (i-ching-number-to-hexagram hexagram-number)
(i-ching-number-to-description hexagram-number) (i-ching-number-to-description hexagram-number)
(i-ching-number-to-judgment hexagram-number) (i-ching-number-to-judgment hexagram-number)
(i-ching-number-to-image hexagram-number)))) (i-ching-number-to-image hexagram-number))))
;; querying the I Ching ;; querying the I Ching
@ -876,16 +872,16 @@ The hexagram can be entered as a string, or by number."
(changing (when (= 3 (length cast)) (changing (when (= 3 (length cast))
(string (elt cast 2)))) (string (elt cast 2))))
(result (result
(if changing (if changing
(format "%s → %s\n\n%s\n\n%s" (format "%s → %s\n\n%s\n\n%s"
hexagram changing hexagram changing
(i-ching-interpretation (i-ching-interpretation
(i-ching-hexagram-to-number hexagram)) (i-ching-hexagram-to-number hexagram))
(i-ching-interpretation (i-ching-interpretation
(i-ching-hexagram-to-number changing))) (i-ching-hexagram-to-number changing)))
(format "%s" (format "%s"
(i-ching-interpretation (i-ching-interpretation
(i-ching-hexagram-to-number hexagram)))))) (i-ching-hexagram-to-number hexagram))))))
(message "cast: %s\n" cast) (message "cast: %s\n" cast)
result)) result))

140
tests.el
View file

@ -1,99 +1,127 @@
;;; tests.el --- tests for i-ching.el -*- coding: utf-8; lexical-binding: t -*- ;;; tests.el --- tests for i-ching.el -*- coding: utf-8; lexical-binding: t -*-
;;; Commentary:
;;
;; some simple tests... ;; some simple tests...
;;; Code:
(require 'ert)
(require 'with-simulated-input)
(require 'i-ching) (require 'i-ching)
;; range 0-63 NOTE: doesn't fail when rate-limit is hit
(ert-deftest i-ching-qrnd () (ert-deftest i-ching-qrnd ()
(should (numberp (i-ching-q64))) (should (numberp (i-ching-q64)))
(should (< 0 (i-ching-q64))) (should (<= 0 (i-ching-q64)))
(should (>= 64 (i-ching-q64)))) (should (> 64 (i-ching-q64))))
;; range 0-63
(ert-deftest i-ching-rrnd () (ert-deftest i-ching-rrnd ()
(should (numberp (i-ching-r64))) (should (numberp (i-ching-r64)))
(should (< 0 (i-ching-r64))) (should (<= 0 (i-ching-r64)))
(should (>= 64 (i-ching-r64)))) (should (> 64 (i-ching-r64))))
(ert-deftest i-ching-random () (ert-deftest i-ching-random ()
(should (numberp (i-ching-random 'quantum))) (should (numberp (i-ching-random 64 'quantum)))
(should (numberp (i-ching-random 'atmospheric))) (should (numberp (i-ching-random 64 'atmospheric)))
(should (numberp (i-ching-random 'pseudo)))) (should (numberp (i-ching-random 64 'pseudo)))
(should (numberp (i-ching-random 64))))
(ert-deftest i-ching-n2h () (ert-deftest i-ching-n2h ()
(should (string= "" (i-ching-number-to-hexagram 2))) (should (string= "" (i-ching-number-to-hexagram 2)))
(should (string= "" (i-ching-number-to-hexagram 42))) (should (string= "" (i-ching-number-to-hexagram 42)))
(should (string= nil (i-ching-number-to-hexagram 65)))) (should (string= nil (i-ching-number-to-hexagram 65))))
(ert-deftest i-ching-h2n () (ert-deftest i-ching-h2n ()
(should (eql 2 (i-ching-hexagram-to-number ""))) (should (eql 2 (i-ching-hexagram-to-number "")))
(should (eql 40 (i-ching-hexagram-to-number ""))) (should (eql 40 (i-ching-hexagram-to-number "")))
(should-not (i-ching-hexagram-to-number "NOT"))) (should-not (i-ching-hexagram-to-number "NOT")))
(ert-deftest i-ching-b2h () (ert-deftest i-ching-b2h ()
(string= "" (i-ching-binary-to-hexagram #b010100))) (string= "" (i-ching-binary-to-hexagram #b010100)))
(ert-deftest i-ching-names () (ert-deftest i-ching-names ()
(should-not (i-ching-number-to-name 65)) (should-not (i-ching-number-to-name 0))
(should (string= "HEXAGRAM FOR BEFORE COMPLETION" (should-not (i-ching-number-to-name 65))
(i-ching-number-to-unicode-name 64))) (should (string= "HEXAGRAM FOR BEFORE COMPLETION"
(should (string= "Before Completion" (i-ching-number-to-unicode-name 64)))
(i-ching-number-to-name 64)))) (should (string= "Before Completion"
(i-ching-number-to-name 64))))
(ert-deftest i-ching-descriptions () (ert-deftest i-ching-descriptions ()
(should (stringp (i-ching-number-to-description 43))) (should (stringp (i-ching-number-to-description 43)))
(should (stringp (i-ching-number-to-judgment 27))) (should (stringp (i-ching-number-to-judgment 27)))
(should (stringp (i-ching-number-to-image 13))) (should (stringp (i-ching-number-to-image 13)))
(should-not (stringp (i-ching-number-to-description 65))) (should-not (stringp (i-ching-number-to-description 0)))
(should-not (stringp (i-ching-number-to-judgment 65))) (should-not (stringp (i-ching-number-to-judgment 0)))
(should-not (stringp (i-ching-number-to-image 65)))) (should-not (stringp (i-ching-number-to-image 0)))
(should-not (stringp (i-ching-number-to-description 65)))
(should-not (stringp (i-ching-number-to-judgment 65)))
(should-not (stringp (i-ching-number-to-image 65))))
(ert-deftest i-ching-all-descriptions () (ert-deftest i-ching-all-descriptions ()
(dotimes (i 63) (dotimes (i 63)
(should-not (seq-empty-p (i-ching-number-to-unicode-name (1+ i)))) (should-not (seq-empty-p (i-ching-number-to-unicode-name (1+ i))))
(should-not (seq-empty-p (i-ching-number-to-description (1+ i)))) (should-not (seq-empty-p (i-ching-number-to-description (1+ i))))
(should-not (seq-empty-p (i-ching-number-to-judgment (1+ i)))) (should-not (seq-empty-p (i-ching-number-to-judgment (1+ i))))
(should-not (seq-empty-p (i-ching-number-to-image (1+ i)))) (should-not (seq-empty-p (i-ching-number-to-image (1+ i))))
(should-not (seq-empty-p (i-ching-number-to-name (1+ i)))) (should-not (seq-empty-p (i-ching-number-to-name (1+ i))))
(should (stringp (i-ching-number-to-unicode-name (1+ i)))) (should (stringp (i-ching-number-to-unicode-name (1+ i))))
(should (stringp (i-ching-number-to-description (1+ i)))) (should (stringp (i-ching-number-to-description (1+ i))))
(should (stringp (i-ching-number-to-judgment (1+ i)))) (should (stringp (i-ching-number-to-judgment (1+ i))))
(should (stringp (i-ching-number-to-image (1+ i)))) (should (stringp (i-ching-number-to-image (1+ i))))
(should (stringp (i-ching-number-to-name (1+ i)))))) (should (stringp (i-ching-number-to-name (1+ i))))))
(ert-deftest i-ching-interprets () (ert-deftest i-ching-interprets ()
(should (stringp (i-ching-interpretation 49))) (should (stringp (i-ching-interpretation 49)))
(should-not (seq-empty-p (i-ching-interpretation 49)))) (should-not (seq-empty-p (i-ching-interpretation 49))))
(ert-deftest i-ching-queries () (ert-deftest i-ching-queries ()
(should (stringp (i-ching-query-string))) (should (stringp (i-ching-query-string)))
(should (stringp (i-ching-query-string '3-coins)))) (should (stringp (i-ching-query-string '3-coins))))
(ert-deftest i-ching-castings () (ert-deftest i-ching-castings ()
(should (stringp (i-ching-cast 'yarrow-stalks))) (should (stringp (i-ching-cast 'yarrow-stalks)))
(should (stringp (i-ching-cast '3-coins))) (should (stringp (i-ching-cast '3-coins)))
(should (stringp (i-ching-cast)))) (should (stringp (i-ching-cast))))
;; randomness
(defun χ² (expected observed)
"Chi-squared test for EXPECTED OBSERVED sequences."
(cl-reduce #'+
(cl-mapcar
(lambda (e o) (/ (expt (- o e) 2) e))
expected observed)))
;; (mapcar (lambda (n)
;; (i-ching-random n 'atmospheric))
;; (make-list 1024 64))
;; interactive testing
;; (i-ching-query '6-bit) ;; (i-ching-query '6-bit)
;; (i-ching-query '3-coins) ;; (i-ching-query '3-coins)
;; (i-ching-query 'yarrow-stalks) ;; (i-ching-query 'yarrow-stalks)
;; interactive testing
(ert-deftest i-ching-query-6bit () (ert-deftest i-ching-query-6bit ()
(should (with-simulated-input (should (with-simulated-input
"testing SPC circumstances RET" "testing SPC circumstances RET"
(i-ching-query '6-bit)))) (i-ching-query '6-bit))))
(ert-deftest i-ching-query-3coin () (ert-deftest i-ching-query-3coin ()
(should (with-simulated-input (should (with-simulated-input
"testing SPC circumstances RET" "testing SPC circumstances RET"
(i-ching-query '3-coins)))) (i-ching-query '3-coins))))
(ert-deftest i-ching-query-yarrow () (ert-deftest i-ching-query-yarrow ()
(should (with-simulated-input (should (with-simulated-input
"testing SPC circumstances RET" "testing SPC circumstances RET"
(i-ching-query 'yarrow-stalks)))) (i-ching-query 'yarrow-stalks))))
;; run them... ;; run them...