Herbie run

Date:Tuesday, August 6th, 2024
Commit:2.2 on release
Hostname:nightly with Racket 8.11.1
Seed:2024219
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: 10.3min)

simplify1.7min (17%)

Memory
0.0MiB live, 142 488.8MiB allocated
Algorithm
270×egg-herbie
Rules
2 431 108×lower-fma.f64
2 430 136×lower-fma.f32
1 116 318×lower-*.f64
1 113 338×lower-*.f32
611 200×lower-+.f64
Stop Event
363×iter limit
207×node limit
60×saturated
unsound
Counts
66 360 → 66 131

prune1.4min (13.7%)

Memory
-473.1MiB live, 110 248.3MiB allocated
Counts
238 065 → 4 682
Compiler

Compiled 452 097 to 162 646 computations (64% saved)

sample1.3min (12.3%)

Memory
583.7MiB live, 103 460.0MiB allocated
Samples
55.3s247 595×0valid
2.4s10 581×0invalid
13.0ms85×1valid
Precisions
Click to see histograms. Total time spent on operations: 46.0s
ival-mult: 9.4s (20.4% of total)
const: 7.3s (15.9% of total)
ival-<=: 6.2s (13.5% of total)
ival-div: 4.8s (10.5% of total)
ival-sin: 1.8s (4% of total)
ival-sub: 1.8s (3.9% of total)
ival-sqrt: 1.7s (3.8% of total)
ival-add: 1.6s (3.5% of total)
ival-fabs: 1.5s (3.3% of total)
ival-floor: 1.4s (3.1% of total)
ival-log: 1.3s (2.8% of total)
ival-and: 1.2s (2.5% of total)
ival-exp: 927.0ms (2% of total)
ival-cos: 891.0ms (1.9% of total)
ival-<: 554.0ms (1.2% of total)
ival-neg: 495.0ms (1.1% of total)
ival-pi: 440.0ms (1% of total)
exact: 437.0ms (0.9% of total)
ival-fmax: 320.0ms (0.7% of total)
ival-tan: 308.0ms (0.7% of total)
ival-if: 304.0ms (0.7% of total)
ival-log2: 274.0ms (0.6% of total)
ival-asin: 195.0ms (0.4% of total)
ival->: 194.0ms (0.4% of total)
ival-==: 142.0ms (0.3% of total)
ival-sinh: 131.0ms (0.3% of total)
ival-atan: 122.0ms (0.3% of total)
ival-assert: 96.0ms (0.2% of total)
ival->=: 45.0ms (0.1% of total)
adjust: 2.0ms (0% of total)
Bogosity

eval1.0min (10%)

Memory
257.1MiB live, 92 423.3MiB allocated
Compiler

Compiled 41 296 192 to 506 125 computations (98.8% saved)

end58.1s (9.5%)

Memory
2.8MiB live, 28 080.1MiB allocated

rewrite50.6s (8.2%)

Memory
433.4MiB live, 72 298.1MiB allocated
Algorithm
120×batch-egg-rewrite
Rules
566 268×lower-fma.f64
565 314×lower-fma.f32
525 572×lower-*.f64
522 710×lower-*.f32
389 032×lower-/.f64
Stop Event
244×iter limit
117×node limit
unsound
Counts
2 356 → 74 048

soundness45.9s (7.5%)

Memory
342.8MiB live, 34 458.1MiB allocated
Rules
1 444 796×lower-fma.f64
1 444 162×lower-fma.f32
966 330×lower-*.f64
964 258×lower-*.f32
459 122×lower-/.f64
Stop Event
265×iter limit
178×node limit
30×fuel
Compiler

Compiled 57 961 to 16 813 computations (71% saved)

regimes44.4s (7.2%)

Memory
200.5MiB live, 68 086.7MiB allocated
Counts
15 343 → 471
Calls

145 calls:

1.4s
cosTheta_i
1.1s
(*.f32 uy #s(literal 2 binary32))
1.1s
uy
1.1s
(*.f32 (*.f32 uy #s(literal 2 binary32)) (PI.f32))
932.0ms
u1
Compiler

Compiled 34 887 to 20 028 computations (42.6% saved)

localize35.4s (5.8%)

Memory
237.5MiB live, 53 380.3MiB allocated
Samples
12.5s26 605×0valid
2.4s1 632×1valid
1.3s2 222×0invalid
147.0ms72×5exit
60.0ms4exit
58.0ms185×0exit
Compiler

Compiled 146 500 to 6 750 computations (95.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.6s
ival-mult: 4.5s (35.4% of total)
ival-div: 1.7s (13.5% of total)
ival-add: 1.4s (11.1% of total)
const: 691.0ms (5.5% of total)
ival-log: 526.0ms (4.2% of total)
ival-sqrt: 482.0ms (3.8% of total)
ival-cos: 346.0ms (2.8% of total)
ival-sub: 338.0ms (2.7% of total)
adjust: 315.0ms (2.5% of total)
ival-pow2: 312.0ms (2.5% of total)
ival-exp: 309.0ms (2.5% of total)
ival-neg: 245.0ms (1.9% of total)
ival-sin: 212.0ms (1.7% of total)
ival-pow: 200.0ms (1.6% of total)
ival-tan: 167.0ms (1.3% of total)
ival-log1p: 115.0ms (0.9% of total)
ival-fmax: 97.0ms (0.8% of total)
ival-pi: 86.0ms (0.7% of total)
ival-floor: 83.0ms (0.7% of total)
ival-if: 81.0ms (0.6% of total)
ival-atan: 77.0ms (0.6% of total)
ival-log2: 68.0ms (0.5% of total)
exact: 61.0ms (0.5% of total)
ival-fabs: 38.0ms (0.3% of total)
ival-true: 30.0ms (0.2% of total)
ival-expm1: 27.0ms (0.2% of total)
ival-cbrt: 22.0ms (0.2% of total)
ival-asin: 19.0ms (0.2% of total)
ival->: 15.0ms (0.1% of total)
ival-assert: 14.0ms (0.1% of total)
ival-acos: 13.0ms (0.1% of total)
ival->=: 12.0ms (0.1% of total)
ival-sinh: 9.0ms (0.1% of total)
ival-<: 5.0ms (0% of total)
ival-hypot: 4.0ms (0% of total)
ival-e: 2.0ms (0% of total)

analyze20.9s (3.4%)

Memory
97.0MiB live, 31 946.4MiB allocated
Algorithm
30×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%2.6%97.4%0%0%0%0
0%0%2.6%97.4%0%0%0%1
7.8%0.2%2.4%97.4%0%0%0%2
8.5%0.2%2.4%97.4%0%0%0%3
12.8%0.3%2.3%97.4%0%0%0%4
47%1.2%1.4%97.4%0%0%0%5
51.8%1.3%1.2%97.4%0%0.1%0%6
69.5%1.8%0.8%97.4%0%0.1%0%7
71.6%1.8%0.7%97.4%0%0.1%0%8
81.1%2.1%0.5%97.4%0%0.1%0%9
82.6%2.1%0.4%97.4%0%0.1%0%10
88.3%2.2%0.3%97.4%0%0.1%0%11
89.1%2.2%0.3%97.4%0%0.1%0%12
Compiler

Compiled 2 586 to 1 076 computations (58.4% saved)

series14.8s (2.4%)

Memory
151.1MiB live, 21 776.5MiB allocated
Counts
2 356 → 66 360
Calls

8532 calls:

TimeVariablePointExpression
330.0ms
h
@-inf
(pow (exp 2) (log (* (floor h) dX.v)))
200.0ms
s
@0
(* (neg s) (log (- (exp (neg (log (/ 1 (/ 1 (+ (+ (/ 1 (+ 1 (exp (/ (PI) s)))) (/ u (+ 1 (exp (/ (PI) (neg s)))))) (/ u (neg (+ 1 (exp (/ (PI) s))))))))))) 1)))
166.0ms
v
@0
(* v (log (+ u (* (- 1 u) (exp (/ -2 v))))))
162.0ms
s
@inf
(* (neg s) (log (- (exp (neg (log (/ 1 (/ 1 (+ (+ (/ 1 (+ 1 (exp (/ (PI) s)))) (/ u (+ 1 (exp (/ (PI) (neg s)))))) (/ u (neg (+ 1 (exp (/ (PI) s))))))))))) 1)))
151.0ms
s
@0
(* (neg s) (neg (log (/ (+ 1 (/ 1 (+ (* u (- (/ 1 (+ 1 (exp (/ (neg (PI)) s)))) (/ 1 (+ 1 (exp (/ (PI) s)))))) (/ 1 (+ 1 (exp (/ (PI) s))))))) (+ (pow (+ (* u (- (/ 1 (+ 1 (exp (/ (neg (PI)) s)))) (/ 1 (+ 1 (exp (/ (PI) s)))))) (/ 1 (+ 1 (exp (/ (PI) s))))) -2) -1)))))

preprocess10.5s (1.7%)

Memory
-111.1MiB live, 14 016.5MiB allocated
Algorithm
30×egg-herbie
Rules
132 696×lower-fma.f64
132 696×lower-fma.f32
46 474×lower-*.f64
46 188×lower-*.f32
27 984×unsub-neg
Stop Event
60×iter limit
31×saturated
29×node limit
Compiler

Compiled 61 172 to 17 130 computations (72% saved)

explain8.5s (1.4%)

Memory
-44.1MiB live, 13 253.1MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
log.f32#fsensitivity103985
-.f32#fcancellation38451
sqrt.f32#foflow-rescue3520
cos.f32#fsensitivity19315
tan.f32(tan.f32 (+.f32 (*.f32 (*.f32 #s(literal 2 binary32) (PI.f32)) u1) (*.f32 #s(literal 1/2 binary32) (PI.f32))))cancellation18313
/.f32#fo/n1480
exp.f32#fsensitivity3616
sqrt.f32(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 #s(literal 1 binary32) (*.f32 sinTheta_O sinTheta_O))))))uflow-rescue180
(*.f32 sinTheta_O sinTheta_O)underflow284
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 #s(literal 1 binary32) (*.f32 sinTheta_O sinTheta_O)))))underflow18
(/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 #s(literal 1 binary32) (*.f32 sinTheta_O sinTheta_O))))underflow142
(*.f32 eta eta)underflow18
/.f32#fu/n170
/.f32#fo/o140
/.f32#fn/o100
*.f32(*.f32 (sin.f32 (*.f32 u normAngle)) (/.f32 #s(literal 1 binary32) (sin.f32 normAngle)))n*u40
log.f32(log.f32 (/.f32 #s(literal 1 binary32) (*.f32 #s(literal 2 binary32) v)))oflow-rescue10
(/.f32 #s(literal 1 binary32) (*.f32 #s(literal 2 binary32) v))overflow1
Confusion
Predicted +Predicted -
+166859
-3935560
Precision
0.8093158660844251
Recall
0.965836711059641
Confusion?
Predicted +Predicted MaybePredicted -
+16684316
-3931275433
Precision?
0.7669206633796504
Recall?
0.9907353792704111
Freqs
test
numberfreq
05619
11737
2310
314
Total Confusion?
Predicted +Predicted MaybePredicted -
+2310
-402
Precision?
0.8571428571428571
Recall?
1.0
Samples
2.4s15 298×0valid
26.0ms62×1valid
Compiler

Compiled 18 280 to 2 256 computations (87.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.6s
ival-mult: 527.0ms (33.4% of total)
ival-div: 259.0ms (16.4% of total)
ival-sin: 123.0ms (7.8% of total)
ival-log: 82.0ms (5.2% of total)
ival-add: 80.0ms (5.1% of total)
ival-sub: 78.0ms (4.9% of total)
ival-sqrt: 62.0ms (3.9% of total)
ival-tan: 44.0ms (2.8% of total)
ival-exp: 40.0ms (2.5% of total)
ival-floor: 40.0ms (2.5% of total)
ival-cos: 39.0ms (2.5% of total)
const: 35.0ms (2.2% of total)
ival-pi: 30.0ms (1.9% of total)
ival-neg: 30.0ms (1.9% of total)
ival-fmax: 18.0ms (1.1% of total)
ival-true: 15.0ms (1% of total)
ival-if: 13.0ms (0.8% of total)
ival-log2: 13.0ms (0.8% of total)
exact: 13.0ms (0.8% of total)
ival-fabs: 8.0ms (0.5% of total)
ival-assert: 7.0ms (0.4% of total)
ival-atan: 6.0ms (0.4% of total)
ival-asin: 4.0ms (0.3% of total)
ival-sinh: 4.0ms (0.3% of total)
ival->: 3.0ms (0.2% of total)
ival->=: 3.0ms (0.2% of total)
adjust: 2.0ms (0.1% of total)
ival-<: 1.0ms (0.1% of total)

bsearch70.0ms (0%)

Memory
15.5MiB live, 101.6MiB allocated
Algorithm
53×left-value
49×binary-search
Stop Event
49×narrow-enough
Compiler

Compiled 4 683 to 2 577 computations (45% saved)

Profiling

Loading profile data...