Herbie run

Date:Friday, April 5th, 2024
Commit:9a443234 on explanations-eval-top3
Hostname:nightly with Racket 8.11.1
Seed:2024096
Parameters:256 points for 4 iterations
Flags:
reduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 27.5min)

sample8.0min (28.9%)

Results
1.3min298860×256valid
40.4s45526×512valid
6.2s27818×256invalid
7.7s27416×256infinite
7.3s26533×256unsamplable
20.5s25418×1024valid
2.7min16696×8192exit
31.4s10969×2048valid
53.8s7478×4096valid
6.4s5908×512infinite
1.2s1694×1024invalid
1.2s1194×2048invalid
1.0s1171×512invalid
20.5s1134×8192valid
128.0ms901×256precondition
4.2s687×2048infinite
2.5s537×1024infinite
4.1s404×4096infinite
6.0ms512unsamplable
8.0ms1024unsamplable
5.0ms2048unsamplable
Precisions
Click to see histograms. Total time spent on operations: 6.2min
Operation ival-pow, time spent: 2.6min, 41.0% of total-time
Operation ival-sin, time spent: 46.0s, 12.0% of total-time
Operation ival-mult, time spent: 42.4s, 11.0% of total-time
Operation ival-cos, time spent: 35.8s, 10.0% of total-time
Operation ival-div, time spent: 32.5s, 9.0% of total-time
Operation ival-exp, time spent: 11.5s, 3.0% of total-time
Operation ival-log, time spent: 10.1s, 3.0% of total-time
Operation ival-add, time spent: 9.9s, 3.0% of total-time
Operation ival-sub, time spent: 8.0s, 2.0% of total-time
Operation ival-sqrt, time spent: 4.6s, 1.0% of total-time
Operation const, time spent: 3.8s, 1.0% of total-time
Operation ival-neg, time spent: 2.8s, 1.0% of total-time
Operation ival-<, time spent: 2.8s, 1.0% of total-time
Operation ival-atan2, time spent: 1.7s, 0.0% of total-time
Operation ival-atan, time spent: 1.4s, 0.0% of total-time
Operation ival-acos, time spent: 1.2s, 0.0% of total-time
Operation ival-pi, time spent: 1.2s, 0.0% of total-time
Operation ival-tan, time spent: 861.0ms, 0.0% of total-time
Operation ival-and, time spent: 528.0ms, 0.0% of total-time
Operation ival-asin, time spent: 292.0ms, 0.0% of total-time
Operation ival-cbrt, time spent: 225.0ms, 0.0% of total-time
Operation ival-<=, time spent: 224.0ms, 0.0% of total-time
Operation ival-fabs, time spent: 174.0ms, 0.0% of total-time
Operation ival-==, time spent: 2.0ms, 0.0% of total-time
Operation ival-or, time spent: 0.0ms, 0.0% of total-time
Bogosity

localize7.7min (28%)

Results
Compiler

Compiled 88448 to 49014 computations (44.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.6min
Operation ival-sin, time spent: 2.3min, 35.0% of total-time
Operation ival-mult, time spent: 58.1s, 15.0% of total-time
Operation ival-pow, time spent: 48.7s, 12.0% of total-time
Operation ival-cos, time spent: 45.1s, 11.0% of total-time
Operation composed, time spent: 26.9s, 7.0% of total-time
Operation ival-div, time spent: 25.4s, 6.0% of total-time
Operation ival-log, time spent: 11.7s, 3.0% of total-time
Operation ival-exp, time spent: 9.5s, 2.0% of total-time
Operation ival-add, time spent: 9.5s, 2.0% of total-time
Operation ival-sub, time spent: 7.0s, 2.0% of total-time
Operation ival-sqrt, time spent: 4.9s, 1.0% of total-time
Operation const, time spent: 4.4s, 1.0% of total-time
Operation ival-atan2, time spent: 1.7s, 0.0% of total-time
Operation ival-cbrt, time spent: 1.6s, 0.0% of total-time
Operation ival-atan, time spent: 705.0ms, 0.0% of total-time
Operation ival-neg, time spent: 670.0ms, 0.0% of total-time
Operation ival-pi, time spent: 621.0ms, 0.0% of total-time
Operation ival-acos, time spent: 458.0ms, 0.0% of total-time
Operation ival-tan, time spent: 455.0ms, 0.0% of total-time
Operation ival-fabs, time spent: 120.0ms, 0.0% of total-time
Operation ival-asin, time spent: 119.0ms, 0.0% of total-time

eval2.7min (9.8%)

Compiler

Compiled 7119886 to 4104636 computations (42.3% saved)

preprocess2.1min (7.7%)

Algorithm
51×egg-herbie
Rules
63000×fma-define
37664×fma-neg
25928×div-sub
22916×unsub-neg
22266×sub-neg
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity19340
+.f64#fcancellation178932
sin.f64#fsensitivity16904
sqrt.f64#foflow-rescue12210
-.f64#fcancellation88011
log.f64#fsensitivity5871
-.f64#fnan-rescue3450
exp.f64#fsensitivity17116
/.f64#fo/o880
*.f64#fn*u720
/.f64#fu/u580
*.f64(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 (PI.f64) (/.f64 angle 180))))n*o310
cbrt.f64(cbrt.f64 (/.f64 g (*.f64 2 a)))uflow-rescue310
(/.f64 g (*.f64 2 a))underflow31
cbrt.f64(cbrt.f64 (/.f64 g (*.f64 2 a)))oflow-rescue270
(/.f64 g (*.f64 2 a))overflow27
/.f64#fu/n200
acos.f64(acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2)))))sensitivity193
/.f64(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))n/o110
(*.f64 b1 b2)overflow31
/.f64(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))o/n110
(*.f64 a1 a2)overflow32
/.f64(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))n/u60
(*.f64 b1 b2)underflow21
log.f64#foflow-rescue60
asin.f64(asin.f64 (+.f64 (*.f64 (sin.f64 phi1) (cos.f64 delta)) (*.f64 (*.f64 (cos.f64 phi1) (sin.f64 delta)) (cos.f64 theta))))sensitivity11
log.f64(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))uflow-rescue10
(+.f64 (exp.f64 a) (exp.f64 b))underflow1
(exp.f64 a)underflow128
(exp.f64 b)underflow1
Confusion
Predicted +Predicted -
+5446355
-13605895
Precision
0.8001763150161623
Recall
0.9388036545423203
Confusion?
Predicted +Predicted MaybePredicted -
+544622333
-1360335862
Precision?
0.7969683719574406
Recall?
0.9425961041199793
Stop Event
21×saturated
30×node limit
Compiler

Compiled 79494 to 48662 computations (38.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.3min
Operation ival-sin, time spent: 19.4s, 24.0% of total-time
Operation ival-cos, time spent: 16.1s, 20.0% of total-time
Operation ival-mult, time spent: 14.4s, 18.0% of total-time
Operation ival-div, time spent: 11.7s, 15.0% of total-time
Operation ival-pow, time spent: 10.4s, 13.0% of total-time
Operation ival-add, time spent: 2.2s, 3.0% of total-time
Operation ival-sub, time spent: 1.8s, 2.0% of total-time
Operation ival-sqrt, time spent: 1.1s, 1.0% of total-time
Operation const, time spent: 1.1s, 1.0% of total-time
Operation ival-log, time spent: 661.0ms, 1.0% of total-time
Operation ival-atan2, time spent: 395.0ms, 0.0% of total-time
Operation ival-tan, time spent: 276.0ms, 0.0% of total-time
Operation ival-exp, time spent: 242.0ms, 0.0% of total-time
Operation ival-pi, time spent: 216.0ms, 0.0% of total-time
Operation ival-atan, time spent: 197.0ms, 0.0% of total-time
Operation ival-neg, time spent: 139.0ms, 0.0% of total-time
Operation ival-asin, time spent: 95.0ms, 0.0% of total-time
Operation ival-cbrt, time spent: 77.0ms, 0.0% of total-time
Operation ival-acos, time spent: 73.0ms, 0.0% of total-time
Operation ival-fabs, time spent: 17.0ms, 0.0% of total-time

regimes1.8min (6.5%)

Counts
18631 → 806
Calls

138 calls:

10.1s
phi2
9.1s
lambda1
8.2s
phi1
6.8s
lambda2
6.0s
b
Compiler

Compiled 10682 to 7880 computations (26.2% saved)

simplify1.3min (4.6%)

Algorithm
233×egg-herbie
Rules
152030×fma-define
109430×distribute-lft-in
108056×associate-*r*
105156×*-commutative
100372×fma-neg
Stop Event
51×saturated
39×fuel
180×node limit
unsound
10×done
Counts
92237 → 78970
Compiler

Compiled 15789 to 10790 computations (31.7% saved)

soundness1.1min (4.1%)

Rules
170208×fma-define
99396×fma-neg
98144×associate-*r*
91836×distribute-lft-in
81388×distribute-rgt-in
Stop Event
15×saturated
223×node limit
unsound
Compiler

Compiled 45825 to 27636 computations (39.7% saved)

prune56.8s (3.4%)

Counts
165067 → 6762
Compiler

Compiled 436667 to 303302 computations (30.5% saved)

rewrite39.7s (2.4%)

Algorithm
184×batch-egg-rewrite
Rules
122049×log1p-expm1-u
87769×expm1-log1p-u
57922×log-prod
49082×prod-diff
46275×pow1
Stop Event
181×node limit
unsound
Counts
1781 → 51122

analyze34.5s (2.1%)

Algorithm
53×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%79.4%20.6%0%0%0%0
14.8%11.8%67.6%20.6%0%0%0%1
22.6%17.7%60.4%21%0%0.9%0%2
32.7%24.7%50.8%21.2%0%3.3%0%3
39.8%29.8%45%21.2%0%4%0%4
45.4%33.8%40.6%21.2%0%4.5%0%5
48.4%35.7%38%21.2%0%5.1%0%6
51.8%37.8%35.2%21.2%0%5.7%0.1%7
53.5%38.9%33.8%21.3%0%6%0.1%8
56.4%40.6%31.4%21.3%0%6.6%0.2%9
57.7%41.4%30.3%21.3%0%6.8%0.2%10
59.8%42.7%28.7%21.3%0%7.1%0.3%11
61.3%43.5%27.5%21.3%0%7.5%0.3%12
Compiler

Compiled 1919 to 1343 computations (30% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.3s
Operation ival-mult, time spent: 6.9s, 29.0% of total-time
Operation ival-pow, time spent: 4.0s, 16.0% of total-time
Operation ival-div, time spent: 3.3s, 14.0% of total-time
Operation ival-sin, time spent: 3.1s, 13.0% of total-time
Operation ival-cos, time spent: 2.7s, 11.0% of total-time
Operation ival-add, time spent: 1.2s, 5.0% of total-time
Operation ival-sub, time spent: 830.0ms, 3.0% of total-time
Operation ival-sqrt, time spent: 505.0ms, 2.0% of total-time
Operation const, time spent: 420.0ms, 2.0% of total-time
Operation ival-neg, time spent: 259.0ms, 1.0% of total-time
Operation ival-<, time spent: 193.0ms, 1.0% of total-time
Operation ival-tan, time spent: 166.0ms, 1.0% of total-time
Operation ival-atan2, time spent: 138.0ms, 1.0% of total-time
Operation ival-pi, time spent: 109.0ms, 0.0% of total-time
Operation ival-log, time spent: 89.0ms, 0.0% of total-time
Operation ival-exp, time spent: 86.0ms, 0.0% of total-time
Operation ival-acos, time spent: 55.0ms, 0.0% of total-time
Operation ival-atan, time spent: 54.0ms, 0.0% of total-time
Operation ival-and, time spent: 43.0ms, 0.0% of total-time
Operation ival-asin, time spent: 38.0ms, 0.0% of total-time
Operation ival-fabs, time spent: 34.0ms, 0.0% of total-time
Operation ival-cbrt, time spent: 19.0ms, 0.0% of total-time
Operation ival-<=, time spent: 4.0ms, 0.0% of total-time
Operation ival-or, time spent: 0.0ms, 0.0% of total-time
Operation ival-==, time spent: 0.0ms, 0.0% of total-time

bsearch20.6s (1.2%)

Algorithm
273×binary-search
91×left-value
Stop Event
predicate-same
266×narrow-enough
Results
6.9s21935×256valid
7.5s7381×512valid
1.2s1237×2048valid
187.0ms1223×256invalid
975.0ms986×4096valid
575.0ms874×1024valid
421.0ms644×256infinite
377.0ms175×512infinite
Compiler

Compiled 104031 to 77979 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.7s
Operation ival-sin, time spent: 2.5s, 19.0% of total-time
Operation ival-mult, time spent: 2.4s, 19.0% of total-time
Operation ival-cos, time spent: 1.9s, 15.0% of total-time
Operation ival-pow, time spent: 1.3s, 10.0% of total-time
Operation ival-div, time spent: 1.2s, 10.0% of total-time
Operation ival-sub, time spent: 780.0ms, 6.0% of total-time
Operation ival-add, time spent: 532.0ms, 4.0% of total-time
Operation ival-sqrt, time spent: 468.0ms, 4.0% of total-time
Operation ival-atan2, time spent: 405.0ms, 3.0% of total-time
Operation ival-atan, time spent: 363.0ms, 3.0% of total-time
Operation ival-acos, time spent: 270.0ms, 2.0% of total-time
Operation const, time spent: 205.0ms, 2.0% of total-time
Operation ival-neg, time spent: 149.0ms, 1.0% of total-time
Operation ival-pi, time spent: 98.0ms, 1.0% of total-time
Operation ival-log, time spent: 76.0ms, 1.0% of total-time
Operation ival-exp, time spent: 66.0ms, 1.0% of total-time
Operation ival-asin, time spent: 30.0ms, 0.0% of total-time
Operation ival-tan, time spent: 13.0ms, 0.0% of total-time
Operation ival-fabs, time spent: 3.0ms, 0.0% of total-time

series18.4s (1.1%)

Counts
1781 → 41115
Calls

10125 calls:

TimeVariablePointExpression
420.0ms
lambda2
@-inf
(log (* R (acos (+ (* (* (cos phi1) (cos phi2)) (cos (- lambda2 lambda1))) (* (sin phi1) phi2)))))
293.0ms
b
@inf
(log (+ 1 (exp (- b a))))
235.0ms
lambda2
@inf
(log (+ 1 (acos (+ (* (* (cos phi1) (cos phi2)) (cos (- lambda2 lambda1))) (* (sin phi1) (sin phi2))))))
133.0ms
phi2
@-inf
(log (* R (acos (+ (* (* (cos phi1) (cos phi2)) (cos (- lambda2 lambda1))) (* (sin phi1) phi2)))))
117.0ms
lambda2
@0
(* R (sqrt (+ (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2)))) (* (- phi1 phi2) (- phi1 phi2)))))

end32.0ms (0%)

Profiling

Loading profile data...