Herbie run

Date:Thursday, August 8th, 2024
Commit:5940181a on spec-fpcore-fields
Hostname:nightly with Racket 8.11.1
Seed:2024221
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: 15.1min)

sample3.4min (22.5%)

Memory
563.8MiB live, 257 147.8MiB allocated
Samples
58.7s121 707×1valid
35.6s280 233×0valid
30.8s14 366×5exit
17.5s24 311×2valid
7.0s3 030×3valid
6.3s35 691×0exit
4.6s10 755×1exit
3.1s20 424×0invalid
2.3s11 125×1invalid
542.0ms33×4exit
471.0ms806×2invalid
235.0ms31×4valid
151.0ms16×3exit
17.0ms2exit
Precisions
Click to see histograms. Total time spent on operations: 2.4min
ival-pow: 26.1s (18% of total)
ival-mult: 17.9s (12.3% of total)
ival-cos: 17.4s (12% of total)
ival-sin: 15.6s (10.8% of total)
ival-div: 11.6s (8% of total)
adjust: 10.4s (7.2% of total)
ival-pow2: 8.2s (5.6% of total)
ival-add: 6.1s (4.2% of total)
ival-sub: 6.0s (4.1% of total)
ival-exp: 5.6s (3.9% of total)
ival-log: 4.9s (3.4% of total)
ival-sqrt: 4.2s (2.9% of total)
ival-neg: 1.9s (1.3% of total)
const: 1.6s (1.1% of total)
ival-<: 1.5s (1% of total)
ival-hypot: 1.0s (0.7% of total)
ival-atan2: 861.0ms (0.6% of total)
ival-pi: 612.0ms (0.4% of total)
ival-tan: 599.0ms (0.4% of total)
ival-acos: 444.0ms (0.3% of total)
exact: 397.0ms (0.3% of total)
ival-atan: 378.0ms (0.3% of total)
ival-and: 334.0ms (0.2% of total)
ival-true: 311.0ms (0.2% of total)
ival-cbrt: 290.0ms (0.2% of total)
ival-assert: 202.0ms (0.1% of total)
ival-fabs: 175.0ms (0.1% of total)
ival-<=: 159.0ms (0.1% of total)
ival-asin: 138.0ms (0.1% of total)
ival-log1p: 136.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify2.9min (19%)

Memory
-336.0MiB live, 222 709.6MiB allocated
Algorithm
458×egg-herbie
Rules
3 615 468×lower-fma.f32
3 614 300×lower-fma.f64
1 786 758×lower-*.f32
1 782 134×lower-*.f64
1 000 564×lower-+.f32
Stop Event
609×iter limit
330×node limit
128×saturated
Counts
98 592 → 97 883

prune1.6min (10.7%)

Memory
-855.9MiB live, 185 325.6MiB allocated
Counts
287 014 → 8 276
Compiler

Compiled 721 541 to 302 387 computations (58.1% saved)

localize1.4min (9.4%)

Memory
124.8MiB live, 119 689.8MiB allocated
Samples
24.3s16 470×1valid
11.5s5 611×2valid
8.9s964×5exit
8.1s26 218×0valid
1.4s138×4exit
1.1s319×1invalid
973.0ms1 541×0invalid
858.0ms413×3valid
259.0ms194×1exit
222.0ms26×3exit
79.0ms13×2exit
21.0ms4valid
17.0ms55×0exit
Compiler

Compiled 132 872 to 10 007 computations (92.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 48.4s
ival-mult: 10.9s (22.5% of total)
ival-cos: 7.9s (16.2% of total)
ival-sin: 7.1s (14.8% of total)
ival-div: 4.6s (9.6% of total)
adjust: 4.5s (9.4% of total)
ival-add: 3.1s (6.3% of total)
ival-pow2: 1.6s (3.4% of total)
const: 1.4s (3% of total)
ival-sqrt: 1.3s (2.6% of total)
ival-sub: 1.2s (2.6% of total)
ival-exp: 982.0ms (2% of total)
ival-neg: 690.0ms (1.4% of total)
ival-log: 612.0ms (1.3% of total)
ival-pow: 499.0ms (1% of total)
ival-hypot: 385.0ms (0.8% of total)
ival-atan2: 375.0ms (0.8% of total)
ival-acos: 164.0ms (0.3% of total)
ival-cbrt: 142.0ms (0.3% of total)
ival-expm1: 142.0ms (0.3% of total)
ival-tan: 132.0ms (0.3% of total)
ival-atan: 104.0ms (0.2% of total)
exact: 99.0ms (0.2% of total)
ival-pi: 87.0ms (0.2% of total)
ival-fabs: 62.0ms (0.1% of total)
ival-log1p: 54.0ms (0.1% of total)
ival-true: 51.0ms (0.1% of total)
ival-asin: 41.0ms (0.1% of total)
ival-assert: 23.0ms (0% of total)
ival-cosh: 9.0ms (0% of total)
ival-sinh: 7.0ms (0% of total)
ival-copysign: 6.0ms (0% of total)
ival-tanh: 1.0ms (0% of total)

rewrite1.4min (9%)

Memory
-113.1MiB live, 112 995.3MiB allocated
Algorithm
203×batch-egg-rewrite
Rules
892 736×lower-*.f32
888 276×lower-*.f64
886 606×lower-fma.f32
885 446×lower-fma.f64
686 912×lower-/.f32
Stop Event
413×iter limit
202×node limit
saturated
Counts
3 706 → 131 364

soundness1.2min (7.8%)

Memory
411.2MiB live, 58 430.1MiB allocated
Rules
2 194 952×lower-fma.f32
2 194 170×lower-fma.f64
1 521 608×lower-*.f32
1 518 382×lower-*.f64
792 932×lower-+.f32
Stop Event
423×iter limit
285×node limit
46×fuel
done
Compiler

Compiled 60 496 to 26 251 computations (56.6% saved)

eval56.7s (6.3%)

Memory
1 456.8MiB live, 87 179.3MiB allocated
Compiler

Compiled 16 235 056 to 739 269 computations (95.4% saved)

regimes52.1s (5.8%)

Memory
16.9MiB live, 77 510.7MiB allocated
Counts
26 255 → 1 008
Calls

155 calls:

3.1s
b
3.0s
phi1
3.0s
a
2.9s
lambda2
2.6s
phi2
Compiler

Compiled 27 778 to 16 594 computations (40.3% saved)

explain21.7s (2.4%)

Memory
-189.8MiB live, 33 011.0MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity17911
+.f64#fcancellation172829
sin.f64#fsensitivity15160
sqrt.f64#foflow-rescue13860
-.f64#fcancellation94010
log.f64#fsensitivity6031
/.f64#fo/n4940
-.f64#fnan-rescue4830
/.f64#fu/u3400
/.f64#fo/o3030
*.f64#fn*o2660
/.f64#fu/n1960
exp.f64#fsensitivity16823
sqrt.f64#fuflow-rescue1560
*.f64#fn*u1140
/.f64#fn/o1130
cbrt.f64#foflow-rescue1060
cbrt.f64#fuflow-rescue490
/.f64#fn/u400
*.f64#fu*o310
*.f64#fo*u240
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)))))sensitivity186
pow.f64#fuflow-rescue130
pow.f64(pow.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 t))))) c_n)sensitivity91
log.f64#foflow-rescue40
log.f64(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))uflow-rescue20
(+.f64 (exp.f64 a) (exp.f64 b))underflow2
(exp.f64 a)underflow132
(exp.f64 b)underflow2
Confusion
Predicted +Predicted -
+567667
-14016168
Precision
0.8020347604917338
Recall
0.988333623541703
Confusion?
Predicted +Predicted MaybePredicted -
+56764423
-1401296139
Precision?
0.8
Recall?
0.9959951244993905
Freqs
test
numberfreq
06235
14729
21627
3300
4228
5112
649
718
88
96
Total Confusion?
Predicted +Predicted MaybePredicted -
+4210
-306
Precision?
0.9347826086956522
Recall?
1.0
Samples
4.1s7 822×1valid
2.2s16 424×0valid
2.2s2 080×2valid
566.0ms292×3valid
270.0ms4valid
17.0ms5exit
Compiler

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

Precisions
Click to see histograms. Total time spent on operations: 7.4s
ival-sin: 1.6s (21.8% of total)
ival-cos: 1.5s (20% of total)
ival-mult: 1.2s (16.3% of total)
ival-div: 574.0ms (7.8% of total)
adjust: 486.0ms (6.6% of total)
ival-pow2: 388.0ms (5.3% of total)
ival-sub: 388.0ms (5.3% of total)
ival-add: 264.0ms (3.6% of total)
ival-exp: 247.0ms (3.4% of total)
ival-log: 177.0ms (2.4% of total)
ival-sqrt: 172.0ms (2.3% of total)
ival-neg: 58.0ms (0.8% of total)
ival-tan: 52.0ms (0.7% of total)
ival-atan2: 43.0ms (0.6% of total)
ival-hypot: 42.0ms (0.6% of total)
ival-pi: 32.0ms (0.4% of total)
ival-atan: 27.0ms (0.4% of total)
ival-true: 26.0ms (0.4% of total)
ival-acos: 22.0ms (0.3% of total)
ival-pow: 21.0ms (0.3% of total)
exact: 19.0ms (0.3% of total)
ival-cbrt: 18.0ms (0.2% of total)
ival-assert: 12.0ms (0.2% of total)
ival-fabs: 11.0ms (0.1% of total)
ival-asin: 9.0ms (0.1% of total)
ival-log1p: 6.0ms (0.1% of total)

series19.6s (2.2%)

Memory
-452.6MiB live, 26 915.9MiB allocated
Counts
3 706 → 98 592
Calls

13392 calls:

TimeVariablePointExpression
342.0ms
theta
@-inf
(atan2 (* (* (sin theta) (sin delta)) (cos phi1)) (- (- (cos delta) (* (- 1/2 (* 1/2 (cos (* 2 phi1)))) (cos delta))) (* (* (cos phi1) (* (sin delta) (cos theta))) (sin phi1))))
301.0ms
a
@inf
(/ (sqrt (* (/ (* (neg (* b (* b (* a a)))) (* 8 (neg (* b (* b (* a a)))))) (* x-scale (* y-scale (* x-scale y-scale)))) (+ (/ (+ (* (* b b) (+ 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180)))))) (* (* a a) (- 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180))))))) (* x-scale x-scale)) (+ (/ (+ (* (* a a) (+ 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180)))))) (* (* b b) (- 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180))))))) (* y-scale y-scale)) (sqrt (+ (* (- (/ (+ (* (* b b) (+ 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180)))))) (* (* a a) (- 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180))))))) (* x-scale x-scale)) (/ (+ (* (* a a) (+ 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180)))))) (* (* b b) (- 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180))))))) (* y-scale y-scale))) (- (/ (+ (* (* b b) (+ 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180)))))) (* (* a a) (- 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180))))))) (* x-scale x-scale)) (/ (+ (* (* a a) (+ 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180)))))) (* (* b b) (- 1/2 (* 1/2 (cos (* 2 (* (* angle (PI)) 1/180))))))) (* y-scale y-scale)))) (* (/ (* (* (+ b a) (- b a)) (sin (* 2 (* (* angle (PI)) 1/180)))) (* x-scale y-scale)) (/ (* (* (+ b a) (- b a)) (sin (* 2 (* (* angle (PI)) 1/180)))) (* x-scale y-scale))))))))) (/ 1 (* x-scale (* y-scale (* x-scale y-scale)))))
204.0ms
t
@-inf
(* (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n) (* (pow (+ 1 (/ -1 (+ 1 (exp (neg t))))) (neg c_n)) (* (pow (+ 1 (exp (neg s))) (neg c_p)) (pow (+ 1 (exp (neg t))) (neg (neg c_p))))))
141.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)))
117.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)))

preprocess18.8s (2.1%)

Memory
-58.4MiB live, 23 467.1MiB 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 67 276 to 19 288 computations (71.3% saved)

analyze16.6s (1.8%)

Memory
-380.4MiB live, 22 936.1MiB 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)

bsearch8.9s (1%)

Memory
457.1MiB live, 12 763.6MiB allocated
Algorithm
281×binary-search
176×left-value
Stop Event
274×narrow-enough
predicate-same
Samples
4.3s6 187×1valid
2.3s12 093×0valid
304.0ms535×2valid
65.0ms33×3valid
36.0ms403×0invalid
7.0ms17×1exit
Compiler

Compiled 109 507 to 70 287 computations (35.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.1s
ival-cos: 1.6s (25.9% of total)
ival-sin: 1.4s (23.7% of total)
ival-mult: 788.0ms (12.9% of total)
adjust: 514.0ms (8.4% of total)
ival-div: 365.0ms (6% of total)
ival-pow2: 297.0ms (4.9% of total)
ival-sub: 289.0ms (4.7% of total)
ival-atan2: 235.0ms (3.9% of total)
ival-add: 132.0ms (2.2% of total)
ival-sqrt: 115.0ms (1.9% of total)
ival-acos: 91.0ms (1.5% of total)
ival-tan: 35.0ms (0.6% of total)
ival-neg: 32.0ms (0.5% of total)
ival-hypot: 31.0ms (0.5% of total)
ival-atan: 30.0ms (0.5% of total)
ival-fabs: 24.0ms (0.4% of total)
ival-pi: 18.0ms (0.3% of total)
ival-asin: 18.0ms (0.3% of total)
ival-true: 16.0ms (0.3% of total)
ival-exp: 12.0ms (0.2% of total)
exact: 10.0ms (0.2% of total)
ival-assert: 8.0ms (0.1% of total)
ival-log: 8.0ms (0.1% of total)
ival-pow: 5.0ms (0.1% of total)
ival-log1p: 1.0ms (0% of total)

end0.0ms (0%)

Memory
0.9MiB live, 0.8MiB allocated

Profiling

Loading profile data...