Herbie run

Date:Tuesday, July 23rd, 2024
Commit:4c9fd745 on zane-merge-alt-and-improve
Hostname:nightly with Racket 8.11.1
Seed:2024205
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: 14.0min)

sample3.4min (24.4%)

Memory
335.6MiB live, 252 824.3MiB allocated
Samples
58.3s121 601×1valid
38.5s280 324×0valid
29.9s14 491×5exit
17.1s23 035×2valid
8.6s4 199×3valid
5.9s35 336×0exit
4.0s10 735×1exit
3.5s20 893×0invalid
3.2s11 142×1invalid
442.0ms37×4exit
368.0ms807×2invalid
257.0ms24×3exit
204.0ms153×4valid
10.0ms2exit
Precisions
Click to see histograms. Total time spent on operations: 2.5min
ival-pow: 24.6s (16.6% of total)
ival-mult: 19.8s (13.4% of total)
ival-cos: 17.3s (11.7% of total)
ival-sin: 16.7s (11.3% of total)
ival-div: 11.8s (7.9% of total)
adjust: 9.5s (6.4% of total)
ival-pow2: 9.1s (6.1% of total)
ival-sub: 6.6s (4.5% of total)
ival-exp: 6.1s (4.1% of total)
ival-add: 5.9s (4% of total)
ival-log: 4.4s (3% of total)
ival-sqrt: 4.1s (2.8% of total)
ival-neg: 2.4s (1.6% of total)
const: 1.9s (1.3% of total)
ival-<: 1.4s (0.9% of total)
ival-atan2: 1.3s (0.9% of total)
ival-pi: 818.0ms (0.6% of total)
ival-hypot: 780.0ms (0.5% of total)
ival-tan: 621.0ms (0.4% of total)
exact: 507.0ms (0.3% of total)
ival-acos: 418.0ms (0.3% of total)
ival-atan: 339.0ms (0.2% of total)
ival-and: 325.0ms (0.2% of total)
ival-true: 309.0ms (0.2% of total)
ival-cbrt: 262.0ms (0.2% of total)
ival-assert: 208.0ms (0.1% of total)
ival-<=: 204.0ms (0.1% of total)
ival-fabs: 185.0ms (0.1% of total)
ival-asin: 161.0ms (0.1% of total)
ival-log1p: 123.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify2.6min (18.7%)

Memory
-1 019.3MiB live, 207 312.0MiB allocated
Algorithm
460×egg-herbie
Rules
3 654 744×accelerator-lowering-fma.f32
3 654 744×accelerator-lowering-fma.f64
1 733 034×*-lowering-*.f32
1 733 034×*-lowering-*.f64
1 016 160×+-lowering-+.f32
Stop Event
409×iter limit
324×node limit
136×saturated
Counts
83 496 → 83 496

rewrite1.4min (9.7%)

Memory
334.0MiB live, 112 400.8MiB allocated
Algorithm
204×batch-egg-rewrite
Rules
902 586×accelerator-lowering-fma.f32
902 586×accelerator-lowering-fma.f64
886 384×*-lowering-*.f32
886 384×*-lowering-*.f64
698 328×/-lowering-/.f32
Stop Event
213×iter limit
203×node limit
saturated
Counts
3 369 → 155 261

soundness1.2min (8.4%)

Memory
411.7MiB live, 54 626.9MiB allocated
Rules
2 268 908×accelerator-lowering-fma.f32
2 268 908×accelerator-lowering-fma.f64
1 516 088×*-lowering-*.f32
1 516 088×*-lowering-*.f64
801 086×+-lowering-+.f32
Stop Event
295×iter limit
290×node limit
47×fuel
done
Compiler

Compiled 59 590 to 29 340 computations (50.8% saved)

localize1.1min (7.5%)

Memory
-18.1MiB live, 85 528.4MiB allocated
Samples
15.3s12 777×1valid
9.2s4 527×2valid
8.1s28 344×0valid
6.1s807×5exit
2.1s4 206×0invalid
1.9s703×3valid
559.0ms97×4exit
504.0ms242×1invalid
236.0ms61×4valid
179.0ms238×2exit
103.0ms85×1exit
37.0ms135×0exit
11.0ms3exit
Compiler

Compiled 95 217 to 8 176 computations (91.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 34.6s
ival-mult: 8.1s (23.4% of total)
ival-cos: 5.4s (15.7% of total)
ival-sin: 5.2s (15% of total)
ival-div: 3.2s (9.3% of total)
adjust: 2.7s (7.7% of total)
ival-add: 1.8s (5.3% of total)
ival-sub: 1.3s (3.6% of total)
const: 1.2s (3.5% of total)
ival-pow2: 950.0ms (2.7% of total)
ival-sqrt: 847.0ms (2.5% of total)
ival-log: 634.0ms (1.8% of total)
ival-atan2: 525.0ms (1.5% of total)
ival-pow: 491.0ms (1.4% of total)
ival-exp: 339.0ms (1% of total)
ival-neg: 265.0ms (0.8% of total)
ival-log1p: 252.0ms (0.7% of total)
ival-tan: 219.0ms (0.6% of total)
ival-atan: 198.0ms (0.6% of total)
ival-cbrt: 135.0ms (0.4% of total)
ival-hypot: 134.0ms (0.4% of total)
ival-acos: 123.0ms (0.4% of total)
ival-expm1: 123.0ms (0.4% of total)
exact: 119.0ms (0.3% of total)
ival-fabs: 96.0ms (0.3% of total)
ival-pi: 87.0ms (0.3% of total)
ival-true: 50.0ms (0.1% of total)
ival-assert: 23.0ms (0.1% of total)
ival-e: 20.0ms (0.1% of total)
ival-asin: 20.0ms (0.1% of total)
ival-cosh: 6.0ms (0% of total)
ival-sinh: 4.0ms (0% of total)
ival-tanh: 3.0ms (0% of total)
ival-copysign: 3.0ms (0% of total)

eval56.9s (6.8%)

Memory
1 366.2MiB live, 88 305.2MiB allocated
Compiler

Compiled 13 793 527 to 823 258 computations (94% saved)

prune56.2s (6.7%)

Memory
-658.6MiB live, 94 150.4MiB allocated
Counts
305 724 → 8 328
Compiler

Compiled 684 796 to 295 929 computations (56.8% saved)

regimes50.8s (6%)

Memory
-163.8MiB live, 74 057.3MiB allocated
Counts
28 056 → 1 162
Calls

155 calls:

3.6s
phi2
3.4s
phi1
3.1s
b
2.9s
lambda1
2.4s
lambda2
Compiler

Compiled 28 023 to 16 713 computations (40.4% saved)

bsearch22.4s (2.7%)

Memory
-168.0MiB live, 28 316.4MiB allocated
Algorithm
358×binary-search
217×left-value
Stop Event
346×narrow-enough
12×predicate-same
Samples
11.2s15 916×1valid
4.1s25 031×0valid
1.7s2 439×2valid
315.0ms202×3valid
232.0ms1 581×0invalid
159.0ms122×1exit
11.0ms28×4valid
3.0ms5exit
Compiler

Compiled 124 192 to 84 595 computations (31.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.5s
ival-cos: 4.1s (26.7% of total)
ival-sin: 3.3s (21% of total)
ival-mult: 2.2s (14.1% of total)
ival-pow2: 1.0s (6.7% of total)
adjust: 968.0ms (6.2% of total)
ival-div: 922.0ms (6% of total)
ival-sub: 702.0ms (4.5% of total)
ival-sqrt: 541.0ms (3.5% of total)
ival-add: 462.0ms (3% of total)
ival-atan2: 330.0ms (2.1% of total)
ival-acos: 218.0ms (1.4% of total)
ival-exp: 147.0ms (0.9% of total)
ival-atan: 124.0ms (0.8% of total)
ival-neg: 85.0ms (0.5% of total)
ival-tan: 82.0ms (0.5% of total)
ival-hypot: 74.0ms (0.5% of total)
ival-log: 73.0ms (0.5% of total)
ival-pi: 50.0ms (0.3% of total)
ival-true: 36.0ms (0.2% of total)
exact: 33.0ms (0.2% of total)
ival-assert: 19.0ms (0.1% of total)
ival-fabs: 11.0ms (0.1% of total)
ival-asin: 10.0ms (0.1% of total)
ival-log1p: 3.0ms (0% of total)

explain20.9s (2.5%)

Memory
141.9MiB live, 30 092.0MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity18292
+.f64#fcancellation170855
sin.f64#fsensitivity15773
sqrt.f64#foflow-rescue14400
-.f64#fcancellation9336
log.f64#fsensitivity5972
-.f64#fnan-rescue5560
/.f64#fo/n4880
/.f64#fu/u3450
/.f64#fo/o3130
*.f64#fn*o2280
exp.f64#fsensitivity17618
/.f64#fu/n1690
sqrt.f64#fuflow-rescue1510
*.f64#fn*u1200
/.f64#fn/o1050
cbrt.f64#foflow-rescue970
cbrt.f64#fuflow-rescue430
/.f64#fn/u420
*.f64#fu*o330
*.f64#fo*u280
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)))))sensitivity175
pow.f64#fsensitivity133
log.f64#foflow-rescue100
pow.f64#fuflow-rescue70
log.f64(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))uflow-rescue30
(+.f64 (exp.f64 a) (exp.f64 b))underflow3
(exp.f64 a)underflow137
(exp.f64 b)underflow3
asin.f64(asin.f64 (+.f64 (*.f64 (sin.f64 phi1) (cos.f64 delta)) (*.f64 (*.f64 (cos.f64 phi1) (sin.f64 delta)) (cos.f64 theta))))sensitivity12
Confusion
Predicted +Predicted -
+578581
-13676079
Precision
0.8088646532438478
Recall
0.9861916126832595
Confusion?
Predicted +Predicted MaybePredicted -
+57854932
-1367426037
Precision?
0.8054673477840674
Recall?
0.9945448346403001
Freqs
test
numberfreq
06160
14709
21682
3365
4226
5101
643
718
85
92
101
Total Confusion?
Predicted +Predicted MaybePredicted -
+4210
-216
Precision?
0.9347826086956522
Recall?
1.0
Samples
4.1s8 200×1valid
2.1s16 150×0valid
2.1s1 852×2valid
602.0ms414×3valid
8.0ms4valid
Compiler

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

Precisions
Click to see histograms. Total time spent on operations: 7.0s
ival-sin: 1.4s (20.4% of total)
ival-cos: 1.2s (17.1% of total)
ival-mult: 896.0ms (12.7% of total)
ival-div: 661.0ms (9.4% of total)
ival-pow2: 442.0ms (6.3% of total)
adjust: 436.0ms (6.2% of total)
ival-sub: 383.0ms (5.4% of total)
ival-add: 299.0ms (4.2% of total)
ival-log: 285.0ms (4% of total)
ival-exp: 246.0ms (3.5% of total)
ival-sqrt: 216.0ms (3.1% of total)
ival-neg: 138.0ms (2% of total)
ival-hypot: 63.0ms (0.9% of total)
ival-tan: 57.0ms (0.8% of total)
ival-atan2: 45.0ms (0.6% of total)
ival-pi: 39.0ms (0.6% of total)
ival-pow: 34.0ms (0.5% of total)
ival-atan: 30.0ms (0.4% of total)
ival-acos: 26.0ms (0.4% of total)
ival-true: 26.0ms (0.4% of total)
exact: 24.0ms (0.3% of total)
ival-cbrt: 21.0ms (0.3% of total)
ival-assert: 12.0ms (0.2% of total)
ival-fabs: 10.0ms (0.1% of total)
ival-asin: 9.0ms (0.1% of total)
ival-log1p: 6.0ms (0.1% of total)

preprocess20.7s (2.5%)

Memory
-374.9MiB live, 22 509.4MiB allocated
Algorithm
52×egg-herbie
Rules
237 718×accelerator-lowering-fma.f32
237 718×accelerator-lowering-fma.f64
81 446×*-lowering-*.f32
81 446×*-lowering-*.f64
46 834×unsub-neg
Stop Event
61×saturated
52×iter limit
43×node limit
Compiler

Compiled 68 978 to 19 752 computations (71.4% saved)

series18.9s (2.2%)

Memory
-132.5MiB live, 25 085.4MiB allocated
Counts
3 369 → 83 496
Calls

16794 calls:

TimeVariablePointExpression
299.0ms
a
@0
(+ (* (exp (log (* b (+ 1/2 (* 1/2 (cos (* 2 (* (* angle 1/180) (PI))))))))) b) (* a (* a (- 1/2 (* 1/2 (cos (* 2 (* (* angle 1/180) (PI)))))))))
262.0ms
phi2
@inf
(* (* (* (cos phi1) (cos phi2)) (sin (/ (- lambda1 lambda2) 2))) (sin (/ (- 2 (* (/ 2 lambda1) lambda2)) (* (/ 2 lambda1) 2))))
259.0ms
a
@inf
(cbrt (* (/ 1 (* 2 a)) (+ (neg g) (sqrt (- (* g g) (* h h))))))
256.0ms
ew
@0
(* (* ew (cos t)) (cos (atan (/ (* (neg eh) (tan t)) ew))))
234.0ms
x
@0
(log (+ (* x (neg x)) (+ (* x x) 1)))

analyze16.4s (1.9%)

Memory
7.9MiB live, 21 786.5MiB 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)

end0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated

Profiling

Loading profile data...