Herbie run

Date:Saturday, August 3rd, 2024
Commit:2.2 on release
Hostname:nightly with Racket 8.11.1
Seed:2024216
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce: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: 13.7min)

sample3.4min (24.9%)

Memory
1 015.3MiB live, 246 524.2MiB allocated
Samples
59.6s121 868×1valid
37.6s280 105×0valid
31.2s14 529×5exit
17.4s24 159×2valid
7.0s3 156×3valid
6.3s35 287×0exit
4.4s10 780×1exit
3.0s20 685×0invalid
2.3s11 189×1invalid
374.0ms20×4exit
336.0ms793×2invalid
169.0ms19×3exit
148.0ms24×4valid
38.0ms19×2exit
Precisions
Click to see histograms. Total time spent on operations: 2.4min
ival-pow: 25.9s (17.7% of total)
ival-mult: 17.7s (12.1% of total)
ival-cos: 17.7s (12.1% of total)
ival-sin: 15.3s (10.4% of total)
ival-div: 12.2s (8.4% of total)
adjust: 10.5s (7.1% of total)
ival-pow2: 9.0s (6.1% of total)
ival-sub: 6.4s (4.4% of total)
ival-add: 6.1s (4.2% of total)
ival-exp: 5.9s (4% of total)
ival-log: 4.7s (3.2% of total)
ival-sqrt: 3.4s (2.3% of total)
ival-neg: 2.1s (1.4% of total)
ival-<: 1.6s (1.1% of total)
const: 1.6s (1.1% of total)
ival-hypot: 1.0s (0.7% of total)
ival-tan: 972.0ms (0.7% of total)
ival-atan2: 790.0ms (0.5% of total)
ival-pi: 741.0ms (0.5% of total)
exact: 416.0ms (0.3% of total)
ival-acos: 390.0ms (0.3% of total)
ival-cbrt: 341.0ms (0.2% of total)
ival-atan: 332.0ms (0.2% of total)
ival-and: 328.0ms (0.2% of total)
ival-true: 291.0ms (0.2% of total)
ival-assert: 199.0ms (0.1% of total)
ival-log1p: 185.0ms (0.1% of total)
ival-fabs: 169.0ms (0.1% of total)
ival-<=: 168.0ms (0.1% of total)
ival-asin: 142.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify2.5min (18.3%)

Memory
261.9MiB live, 197 294.9MiB allocated
Algorithm
458×egg-herbie
Rules
3 478 548×lower-fma.f32
3 477 398×lower-fma.f64
1 753 060×lower-*.f32
1 748 738×lower-*.f64
955 648×lower-+.f32
Stop Event
609×iter limit
321×node limit
137×saturated
Counts
84 264 → 83 561

rewrite1.3min (9.6%)

Memory
824.0MiB live, 104 672.4MiB allocated
Algorithm
203×batch-egg-rewrite
Rules
931 394×lower-fma.f32
930 256×lower-fma.f64
888 060×lower-*.f32
883 898×lower-*.f64
703 214×lower-/.f32
Stop Event
416×iter limit
201×node limit
saturated
unsound
Counts
3 409 → 153 128

soundness1.1min (8.3%)

Memory
-361.7MiB live, 54 718.4MiB allocated
Rules
2 306 158×lower-fma.f32
2 305 382×lower-fma.f64
1 561 600×lower-*.f32
1 558 526×lower-*.f64
802 154×lower-+.f32
Stop Event
437×iter limit
292×node limit
45×fuel
done
saturated
Compiler

Compiled 50 579 to 24 433 computations (51.7% saved)

eval58.2s (7.1%)

Memory
1 042.6MiB live, 87 136.8MiB allocated
Compiler

Compiled 14 181 337 to 796 732 computations (94.4% saved)

prune57.2s (6.9%)

Memory
-2 066.6MiB live, 91 805.0MiB allocated
Counts
304 742 → 8 274
Compiler

Compiled 686 204 to 294 766 computations (57% saved)

localize55.6s (6.7%)

Memory
197.9MiB live, 75 990.9MiB allocated
Samples
17.4s14 401×1valid
8.7s29 789×0valid
5.6s3 270×2valid
4.9s641×5exit
1.2s2 796×0invalid
772.0ms364×3valid
583.0ms114×4exit
433.0ms223×1invalid
265.0ms275×1exit
40.0ms3exit
36.0ms19×2invalid
18.0ms72×0exit
6.0ms2exit
Compiler

Compiled 99 111 to 8 148 computations (91.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 31.4s
ival-mult: 7.3s (23.2% of total)
ival-cos: 4.7s (15% of total)
ival-sin: 4.5s (14.4% of total)
ival-div: 3.0s (9.5% of total)
ival-add: 2.8s (8.8% of total)
adjust: 2.6s (8.3% of total)
const: 934.0ms (3% of total)
ival-pow2: 871.0ms (2.8% of total)
ival-sqrt: 782.0ms (2.5% of total)
ival-sub: 730.0ms (2.3% of total)
ival-pow: 489.0ms (1.6% of total)
ival-log: 464.0ms (1.5% of total)
ival-atan2: 399.0ms (1.3% of total)
ival-neg: 333.0ms (1.1% of total)
ival-exp: 313.0ms (1% of total)
ival-tan: 169.0ms (0.5% of total)
ival-acos: 165.0ms (0.5% of total)
ival-log1p: 157.0ms (0.5% of total)
ival-hypot: 135.0ms (0.4% of total)
ival-cbrt: 129.0ms (0.4% of total)
ival-pi: 99.0ms (0.3% of total)
exact: 89.0ms (0.3% of total)
ival-atan: 84.0ms (0.3% of total)
ival-fabs: 84.0ms (0.3% of total)
ival-true: 44.0ms (0.1% of total)
ival-assert: 22.0ms (0.1% of total)
ival-asin: 14.0ms (0% of total)
ival-cosh: 8.0ms (0% of total)
ival-sinh: 6.0ms (0% of total)
ival-copysign: 4.0ms (0% of total)
ival-tanh: 1.0ms (0% of total)

regimes52.3s (6.3%)

Memory
417.0MiB live, 74 697.5MiB allocated
Counts
27 882 → 1 043
Calls

155 calls:

4.0s
phi2
3.7s
phi1
2.9s
lambda1
2.8s
a
2.5s
lambda2
Compiler

Compiled 28 700 to 17 102 computations (40.4% saved)

series29.0s (3.5%)

Memory
-119.5MiB live, 42 293.1MiB allocated
Counts
3 409 → 84 264
Calls

16902 calls:

TimeVariablePointExpression
197.0ms
a
@0
(exp (+ (log a) (log b)))
135.0ms
t
@inf
(/ (* (pow (/ 1 (+ 1 (exp (neg s)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n)) (* (pow (/ 1 (+ 1 (exp (neg t)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg t))))) c_n)))
130.0ms
theta
@0
(pow (atan2 (* (sin theta) (* (sin delta) (cos phi1))) (cos delta)) 2)
127.0ms
s
@inf
(/ (* (pow (/ 1 (+ 1 (exp (neg s)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n)) (* (pow (/ 1 (+ 1 (exp (neg t)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg t))))) c_n)))
111.0ms
angle
@inf
(* (* 1/4 a) (* (* x-scale (* (sqrt 8) y-scale)) (sqrt (- (+ (/ (+ (* (cos (* (PI) (* 1/90 angle))) -1/2) 1/2) (* x-scale x-scale)) (/ (+ (* 1/2 (cos (* (PI) (* 1/90 angle)))) 1/2) (* y-scale y-scale))) (sqrt (+ (* 4 (* (+ (* 1/2 (cos (* (PI) (* 1/90 angle)))) 1/2) (/ (+ (* (cos (* (PI) (* 1/90 angle))) -1/2) 1/2) (* x-scale (* x-scale (* y-scale y-scale)))))) (pow (- (/ (+ (* (cos (* (PI) (* 1/90 angle))) -1/2) 1/2) (* x-scale x-scale)) (/ (+ (* 1/2 (cos (* (PI) (* 1/90 angle)))) 1/2) (* y-scale y-scale))) 2)))))))

explain20.9s (2.5%)

Memory
-66.7MiB live, 30 646.4MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity18093
+.f64#fcancellation175339
sin.f64#fsensitivity15711
sqrt.f64#foflow-rescue14350
-.f64#fcancellation92910
log.f64#fsensitivity5971
-.f64#fnan-rescue5320
/.f64#fo/n4150
/.f64#fo/o3310
/.f64#fu/u3290
*.f64#fn*o2600
/.f64#fu/n1710
exp.f64#fsensitivity16323
sqrt.f64#fuflow-rescue1600
cbrt.f64#foflow-rescue1130
/.f64#fn/o990
*.f64#fn*u950
cbrt.f64#fuflow-rescue480
/.f64#fn/u370
*.f64#fo*u350
*.f64#fu*o330
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)))))sensitivity163
pow.f64#fuflow-rescue150
pow.f64#fsensitivity80
log.f64#foflow-rescue60
log.f64(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))uflow-rescue40
(+.f64 (exp.f64 a) (exp.f64 b))underflow4
(exp.f64 a)underflow127
(exp.f64 b)underflow4
asin.f64(asin.f64 (+.f64 (*.f64 (sin.f64 phi1) (cos.f64 delta)) (*.f64 (*.f64 (cos.f64 phi1) (sin.f64 delta)) (cos.f64 theta))))sensitivity14
Confusion
Predicted +Predicted -
+582269
-13366085
Precision
0.8133556859457949
Recall
0.988287217789849
Confusion?
Predicted +Predicted MaybePredicted -
+58224326
-1336316054
Precision?
0.8109789823008849
Recall?
0.9955864878628417
Freqs
test
numberfreq
06154
14722
21692
3356
4230
5101
642
77
87
91
Total Confusion?
Predicted +Predicted MaybePredicted -
+4210
-306
Precision?
0.9347826086956522
Recall?
1.0
Samples
4.1s8 136×1valid
2.2s16 294×0valid
1.8s1 880×2valid
661.0ms314×3valid
Compiler

Compiled 21 748 to 3 336 computations (84.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.9s
ival-sin: 1.6s (22.6% of total)
ival-cos: 1.1s (15.7% of total)
ival-mult: 979.0ms (14.1% of total)
ival-div: 765.0ms (11.1% of total)
adjust: 486.0ms (7% of total)
ival-pow2: 364.0ms (5.3% of total)
ival-add: 307.0ms (4.4% of total)
ival-sub: 275.0ms (4% of total)
ival-exp: 242.0ms (3.5% of total)
ival-log: 217.0ms (3.1% of total)
ival-sqrt: 188.0ms (2.7% of total)
ival-neg: 78.0ms (1.1% of total)
ival-acos: 51.0ms (0.7% of total)
ival-tan: 44.0ms (0.6% of total)
ival-pow: 42.0ms (0.6% of total)
ival-atan2: 41.0ms (0.6% of total)
ival-hypot: 37.0ms (0.5% of total)
ival-pi: 30.0ms (0.4% of total)
ival-atan: 25.0ms (0.4% of total)
ival-true: 24.0ms (0.3% of total)
ival-cbrt: 19.0ms (0.3% of total)
exact: 19.0ms (0.3% of total)
ival-assert: 12.0ms (0.2% of total)
ival-asin: 10.0ms (0.1% of total)
ival-fabs: 10.0ms (0.1% of total)
ival-log1p: 5.0ms (0.1% of total)

preprocess19.0s (2.3%)

Memory
149.9MiB live, 21 563.8MiB allocated
Algorithm
52×egg-herbie
Rules
238 304×lower-fma.f64
238 304×lower-fma.f32
81 478×lower-*.f32
81 146×lower-*.f64
46 832×unsub-neg
Stop Event
104×iter limit
61×saturated
43×node limit
Compiler

Compiled 60 768 to 19 180 computations (68.4% saved)

analyze17.4s (2.1%)

Memory
-201.7MiB live, 22 229.4MiB allocated
Algorithm
53×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%79.4%20.6%0%0%0%0
17.2%13.7%65.7%20.6%0%0%0%1
25%19.6%58.5%20.6%0%1.3%0%2
35.2%26.6%48.9%20.6%0%3.8%0%3
42.3%31.7%43.1%20.6%0%4.5%0%4
47.9%35.6%38.7%20.6%0%5.1%0%5
51%37.6%36.1%20.6%0%5.7%0%6
54.4%39.7%33.2%20.6%0%6.5%0%7
56.2%40.7%31.8%20.6%0%6.8%0%8
59%42.5%29.5%20.6%0%7.4%0%9
60.3%43.2%28.4%20.6%0%7.7%0%10
62.1%44.3%27%20.6%0%8.1%0%11
63.6%45.1%25.8%20.6%0%8.5%0%12
Compiler

Compiled 1 826 to 990 computations (45.8% saved)

bsearch11.5s (1.4%)

Memory
-159.1MiB live, 15 881.1MiB allocated
Algorithm
319×binary-search
155×left-value
Stop Event
305×narrow-enough
14×predicate-same
Samples
5.3s7 077×1valid
2.8s15 295×0valid
537.0ms746×2valid
118.0ms50×3valid
52.0ms590×0invalid
38.0ms84×1exit
Compiler

Compiled 118 915 to 79 410 computations (33.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.5s
ival-cos: 1.9s (25.6% of total)
ival-sin: 1.6s (21.8% of total)
ival-mult: 1.3s (17.4% of total)
ival-pow2: 526.0ms (7% of total)
adjust: 410.0ms (5.5% of total)
ival-div: 400.0ms (5.3% of total)
ival-sub: 370.0ms (4.9% of total)
ival-add: 235.0ms (3.1% of total)
ival-sqrt: 160.0ms (2.1% of total)
ival-atan2: 124.0ms (1.7% of total)
ival-hypot: 91.0ms (1.2% of total)
ival-acos: 57.0ms (0.8% of total)
ival-tan: 54.0ms (0.7% of total)
ival-atan: 37.0ms (0.5% of total)
ival-exp: 32.0ms (0.4% of total)
ival-neg: 31.0ms (0.4% of total)
ival-asin: 25.0ms (0.3% of total)
ival-pi: 24.0ms (0.3% of total)
ival-true: 18.0ms (0.2% of total)
ival-fabs: 14.0ms (0.2% of total)
exact: 13.0ms (0.2% of total)
ival-assert: 10.0ms (0.1% of total)
ival-log: 5.0ms (0.1% of total)
ival-log1p: 3.0ms (0% of total)

end0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated

Profiling

Loading profile data...