Ian Simplification

Time bar (total: 4.7s)

analyze7.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%50%0%0%50%0%3
50%25%25%0%0%50%0%4
75%37.5%12.5%0%0%50%0%5
87.5%43.7%6.2%0%0%50%0%6
93.8%46.9%3.1%0%0%50%0%7
96.9%48.4%1.6%0%0%50%0%8
98.4%49.2%0.8%0%0%50%0%9
99.2%49.6%0.4%0%0%50%0%10
99.6%49.8%0.2%0%0%50%0%11
99.8%49.9%0.1%0%0%50%0%12
Compiler

Compiled 15 to 14 computations (6.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
Operation ival-asin, time spent: 2.0ms, 47.0% of total-time
Operation ival-div, time spent: 1.0ms, 23.0% of total-time
Operation ival-pi, time spent: 0.0ms, 0.0% of total-time
Operation ival-sub, time spent: 0.0ms, 0.0% of total-time
Operation ival-mult, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time
Operation ival-sqrt, time spent: 0.0ms, 0.0% of total-time

sample4.4s (92.1%)

Results
2.3s4102×1024valid
941.0ms2053×512valid
369.0ms1802×256valid
227.0ms298×2048valid
0.0ms256invalid
0.0ms512valid
Precisions
Click to see histograms. Total time spent on operations: 2.9s
Operation ival-asin, time spent: 1.5s, 51.0% of total-time
Operation ival-sub, time spent: 517.0ms, 18.0% of total-time
Operation ival-div, time spent: 328.0ms, 11.0% of total-time
Operation ival-sqrt, time spent: 188.0ms, 7.0% of total-time
Operation ival-mult, time spent: 188.0ms, 7.0% of total-time
Operation ival-pi, time spent: 112.0ms, 4.0% of total-time
Operation const, time spent: 58.0ms, 2.0% of total-time
Bogosity

preprocess367.0ms (7.8%)

Algorithm
egg-herbie
Rules
466×fma-neg
362×fma-define
118×cancel-sign-sub-inv
104×sub-neg
98×distribute-lft-neg-in
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
024188
155180
2105164
3224152
4382144
5610144
6798144
7982144
81086144
91124144
101131144
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64))))))
(-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64))))))
(-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x)) #s(literal 2 binary64))))))
(neg.f64 (-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x)) #s(literal 2 binary64)))))))
Outputs
(-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64))))))
(+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))) #s(literal -2 binary64)))
(fma.f64 (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))) #s(literal -2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64)))
(fma.f64 (asin.f64 (sqrt.f64 (fma.f64 x #s(literal -1/2 binary64) #s(literal 1/2 binary64)))) #s(literal -2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64)))
(fma.f64 (asin.f64 (sqrt.f64 (fma.f64 x #s(literal -1/2 binary64) #s(literal 1/2 binary64)))) #s(literal -2 binary64) (*.f64 (PI.f64) #s(literal 1/2 binary64)))
(fma.f64 (PI.f64) #s(literal 1/2 binary64) (*.f64 (asin.f64 (sqrt.f64 (fma.f64 x #s(literal -1/2 binary64) #s(literal 1/2 binary64)))) #s(literal -2 binary64)))
(-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64))))))
(+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))) #s(literal -2 binary64)))
(fma.f64 (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))) #s(literal -2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64)))
(fma.f64 (asin.f64 (sqrt.f64 (fma.f64 x #s(literal -1/2 binary64) #s(literal 1/2 binary64)))) #s(literal -2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64)))
(fma.f64 (asin.f64 (sqrt.f64 (fma.f64 x #s(literal -1/2 binary64) #s(literal 1/2 binary64)))) #s(literal -2 binary64) (*.f64 (PI.f64) #s(literal 1/2 binary64)))
(fma.f64 (PI.f64) #s(literal 1/2 binary64) (*.f64 (asin.f64 (sqrt.f64 (fma.f64 x #s(literal -1/2 binary64) #s(literal 1/2 binary64)))) #s(literal -2 binary64)))
(-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x)) #s(literal 2 binary64))))))
(+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal -2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x)) #s(literal 2 binary64))))))
(+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 (asin.f64 (sqrt.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))) #s(literal -2 binary64)))
(fma.f64 (asin.f64 (sqrt.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))) #s(literal -2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64)))
(fma.f64 (asin.f64 (sqrt.f64 (fma.f64 x #s(literal 1/2 binary64) #s(literal 1/2 binary64)))) #s(literal -2 binary64) (/.f64 (PI.f64) #s(literal 2 binary64)))
(fma.f64 (asin.f64 (sqrt.f64 (fma.f64 x #s(literal 1/2 binary64) #s(literal 1/2 binary64)))) #s(literal -2 binary64) (*.f64 (PI.f64) #s(literal 1/2 binary64)))
(fma.f64 (PI.f64) #s(literal 1/2 binary64) (*.f64 (asin.f64 (sqrt.f64 (fma.f64 x #s(literal 1/2 binary64) #s(literal 1/2 binary64)))) #s(literal -2 binary64)))
(neg.f64 (-.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x)) #s(literal 2 binary64)))))))
(neg.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 #s(literal -2 binary64) (asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) (neg.f64 x)) #s(literal 2 binary64)))))))
(neg.f64 (+.f64 (/.f64 (PI.f64) #s(literal 2 binary64)) (*.f64 (asin.f64 (sqrt.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))) #s(literal -2 binary64))))
(+.f64 (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 2 binary64))))) (/.f64 (PI.f64) #s(literal -2 binary64)))
(fma.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 2 binary64)))) (*.f64 (PI.f64) #s(literal -1/2 binary64)))
(fma.f64 (PI.f64) #s(literal -1/2 binary64) (*.f64 #s(literal 2 binary64) (asin.f64 (sqrt.f64 (fma.f64 x #s(literal 1/2 binary64) #s(literal 1/2 binary64))))))
Compiler

Compiled 54 to 45 computations (16.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 219.0ms
Operation ival-asin, time spent: 107.0ms, 49.0% of total-time
Operation ival-sub, time spent: 36.0ms, 16.0% of total-time
Operation ival-div, time spent: 30.0ms, 14.0% of total-time
Operation ival-sqrt, time spent: 21.0ms, 10.0% of total-time
Operation ival-mult, time spent: 15.0ms, 7.0% of total-time
Operation const, time spent: 7.0ms, 3.0% of total-time
Operation ival-pi, time spent: 3.0ms, 1.0% of total-time

end0.0ms (0%)

Profiling

Loading profile data...