Hyperbolic arc-cosine

Details

Time bar (total: 3.6s)

analyze104.0ms (2.9%)

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
25%25%75%0%0%0%0%3
33.3%25%50%0%0%25%0%4
40%25%37.5%0%0%37.5%0%5
44.4%25%31.2%0%0%43.7%0%6
47.1%25%28.1%0%0%46.9%0%7
48.5%25%26.5%0%0%48.4%0%8
49.2%25%25.8%0%0%49.2%0%9
49.6%25%25.4%0%0%49.6%0%10
49.8%25%25.2%0%0%49.8%0%11
49.9%25%25.1%0%0%49.9%0%12
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample2.5s (69.3%)

Results
978.0ms8256×body256valid
962.0ms4082×body2048invalid
338.0ms1983×body1024invalid
129.0ms989×body512invalid
74.0ms1030×body256invalid
2.0msbody4096invalid
Bogosity

preprocess172.0ms (4.8%)

Algorithm
egg-herbie
Rules
1668×fma-neg
1246×unsub-neg
1016×sub-neg
834×distribute-neg-in
720×fma-def
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
12123
22523
34023
48123
515723
636623
776423
8258723
9453123
10585623
11654323
12685023
13704023
14714523
15746523
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
Outputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify173.0ms (4.8%)

Algorithm
egg-herbie
Rules
1668×fma-neg
1246×unsub-neg
1016×sub-neg
834×distribute-neg-in
720×fma-def
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
12123
22523
34023
48123
515723
636623
776423
8258723
9453123
10585623
11654323
12685023
13704023
14714523
15746523
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
Outputs
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))

eval1.0ms (0%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Accurracy
51.6%
Counts
3 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
51.6%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
51.6%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
Compiler

Compiled 20 to 14 computations (30% saved)

localize43.0ms (1.2%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
53.4%
(sqrt.f64 (-.f64 (*.f64 x x) 1))
Compiler

Compiled 35 to 18 computations (48.6% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(sqrt.f64 (-.f64 (*.f64 x x) 1))
0.0ms
x
@inf
(sqrt.f64 (-.f64 (*.f64 x x) 1))
0.0ms
x
@-inf
(sqrt.f64 (-.f64 (*.f64 x x) 1))

rewrite167.0ms (4.6%)

Algorithm
batch-egg-rewrite
Rules
1508×pow1
1402×add-exp-log
1398×log1p-expm1-u
1398×expm1-log1p-u
1378×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
116813
2205213
Stop Event
node limit
Counts
1 → 24
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 (*.f64 x x) 1))
Outputs
(-.f64 (+.f64 1 (sqrt.f64 (fma.f64 x x -1))) 1)
(*.f64 1 (sqrt.f64 (fma.f64 x x -1)))
(*.f64 (sqrt.f64 (fma.f64 x x -1)) 1)
(*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) (cbrt.f64 (fma.f64 x x -1)))
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))))
(*.f64 (pow.f64 (fma.f64 x x -1) 1/4) (pow.f64 (fma.f64 x x -1) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x -1)))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (fma.f64 x x -1)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 1/2))
(*.f64 (pow.f64 (+.f64 x 1) 1/2) (pow.f64 (+.f64 x -1) 1/2))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 4) -1)) (sqrt.f64 (fma.f64 x x 1)))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 6) -1)) (sqrt.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))
(pow.f64 (fma.f64 x x -1) 1/2)
(pow.f64 (sqrt.f64 (fma.f64 x x -1)) 1)
(pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) 3)
(pow.f64 (pow.f64 (fma.f64 x x -1) 3/2) 1/3)
(pow.f64 (pow.f64 (fma.f64 x x -1) 1/4) 2)
(fabs.f64 (sqrt.f64 (fma.f64 x x -1)))
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))))
(cbrt.f64 (pow.f64 (fma.f64 x x -1) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))
(exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))
(log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 x x -1))))

simplify188.0ms (5.2%)

Algorithm
egg-herbie
Rules
1482×fma-def
1296×associate-/l*
880×associate-/r*
478×associate-*r/
444×*-commutative
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01111080
1255962
2667852
32198816
47264816
Stop Event
node limit
Counts
36 → 72
Calls
Call 1
Inputs
(sqrt.f64 -1)
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1)))))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) (*.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5))))))
x
(-.f64 x (*.f64 1/2 (/.f64 1 x)))
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))))
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))))
(*.f64 -1 x)
(+.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x)))
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)))
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x))))
(-.f64 (+.f64 1 (sqrt.f64 (fma.f64 x x -1))) 1)
(*.f64 1 (sqrt.f64 (fma.f64 x x -1)))
(*.f64 (sqrt.f64 (fma.f64 x x -1)) 1)
(*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) (cbrt.f64 (fma.f64 x x -1)))
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))))
(*.f64 (pow.f64 (fma.f64 x x -1) 1/4) (pow.f64 (fma.f64 x x -1) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x -1)))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (fma.f64 x x -1)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 1/2))
(*.f64 (pow.f64 (+.f64 x 1) 1/2) (pow.f64 (+.f64 x -1) 1/2))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 4) -1)) (sqrt.f64 (fma.f64 x x 1)))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 6) -1)) (sqrt.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))
(pow.f64 (fma.f64 x x -1) 1/2)
(pow.f64 (sqrt.f64 (fma.f64 x x -1)) 1)
(pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) 3)
(pow.f64 (pow.f64 (fma.f64 x x -1) 3/2) 1/3)
(pow.f64 (pow.f64 (fma.f64 x x -1) 1/4) 2)
(fabs.f64 (sqrt.f64 (fma.f64 x x -1)))
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))))
(cbrt.f64 (pow.f64 (fma.f64 x x -1) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))
(exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))
(log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 x x -1))))
Outputs
(sqrt.f64 -1)
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))))
(+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1))))
(fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1)))))
(fma.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)))))
(+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (sqrt.f64 -1)) (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1))))
(fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (sqrt.f64 -1)))
(+.f64 (sqrt.f64 -1) (*.f64 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (+.f64 1/2 (/.f64 (*.f64 x x) 8))))
(+.f64 (*.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3))) (+.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/2 (/.f64 (pow.f64 x 2) (sqrt.f64 -1))) (*.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5))))))
(fma.f64 -1/8 (/.f64 (pow.f64 x 4) (pow.f64 (sqrt.f64 -1) 3)) (+.f64 (sqrt.f64 -1) (fma.f64 1/2 (/.f64 (*.f64 x x) (sqrt.f64 -1)) (/.f64 (*.f64 1/16 (pow.f64 x 6)) (pow.f64 (sqrt.f64 -1) 5)))))
(+.f64 (sqrt.f64 -1) (+.f64 (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (*.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)))))
(fma.f64 1/8 (/.f64 (pow.f64 x 4) (sqrt.f64 -1)) (fma.f64 1/2 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (fma.f64 1/16 (/.f64 (pow.f64 x 6) (pow.f64 (sqrt.f64 -1) 5)) (sqrt.f64 -1))))
(+.f64 (fma.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (pow.f64 x 6) (sqrt.f64 -1)) (*.f64 (/.f64 x (/.f64 (sqrt.f64 -1) x)) (+.f64 1/2 (/.f64 (*.f64 x x) 8))))
x
(-.f64 x (*.f64 1/2 (/.f64 1 x)))
(-.f64 x (/.f64 1/2 x))
(+.f64 x (/.f64 -1/2 x))
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))))
(-.f64 x (+.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3))))
(+.f64 x (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))))
(+.f64 (/.f64 -1/2 x) (+.f64 x (/.f64 -1/8 (pow.f64 x 3))))
(-.f64 x (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3))))))
(-.f64 x (+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5)))))
(+.f64 x (-.f64 (/.f64 -1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5)))))
(+.f64 x (-.f64 (+.f64 (/.f64 -1/2 x) (/.f64 -1/8 (pow.f64 x 3))) (/.f64 1/16 (pow.f64 x 5))))
(+.f64 (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5))) (+.f64 x (/.f64 -1/8 (pow.f64 x 3))))
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x)))
(fma.f64 -1 x (/.f64 1/2 x))
(-.f64 (/.f64 1/2 x) x)
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)))
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (neg.f64 x)))
(+.f64 (/.f64 1/2 x) (-.f64 (/.f64 1/8 (pow.f64 x 3)) x))
(+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x))))
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (neg.f64 x))))
(+.f64 (/.f64 1/2 x) (+.f64 (/.f64 1/16 (pow.f64 x 5)) (-.f64 (/.f64 1/8 (pow.f64 x 3)) x)))
(-.f64 (+.f64 1 (sqrt.f64 (fma.f64 x x -1))) 1)
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(*.f64 1 (sqrt.f64 (fma.f64 x x -1)))
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(*.f64 (sqrt.f64 (fma.f64 x x -1)) 1)
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) (cbrt.f64 (fma.f64 x x -1)))
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))))
(*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) (cbrt.f64 (fma.f64 x x -1)))
(*.f64 (pow.f64 (fma.f64 x x -1) 1/4) (pow.f64 (fma.f64 x x -1) 1/4))
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
(pow.f64 (cbrt.f64 (fma.f64 x x -1)) 3/2)
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x -1)))
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 -1 x)))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (fma.f64 x x -1)))
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 1/2))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
(*.f64 (cbrt.f64 (fma.f64 x x -1)) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
(pow.f64 (cbrt.f64 (fma.f64 x x -1)) 3/2)
(*.f64 (pow.f64 (+.f64 x 1) 1/2) (pow.f64 (+.f64 x -1) 1/2))
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 -1 x)))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 4) -1)) (sqrt.f64 (fma.f64 x x 1)))
(/.f64 (sqrt.f64 (+.f64 -1 (pow.f64 x 4))) (sqrt.f64 (fma.f64 x x 1)))
(/.f64 (sqrt.f64 (+.f64 -1 (pow.f64 x 4))) (hypot.f64 1 x))
(/.f64 (sqrt.f64 (+.f64 (pow.f64 x 6) -1)) (sqrt.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))
(/.f64 (sqrt.f64 (+.f64 -1 (pow.f64 x 6))) (sqrt.f64 (+.f64 (pow.f64 x 4) (fma.f64 x x 1))))
(pow.f64 (fma.f64 x x -1) 1/2)
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(pow.f64 (sqrt.f64 (fma.f64 x x -1)) 1)
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))) 3)
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(pow.f64 (pow.f64 (fma.f64 x x -1) 3/2) 1/3)
(cbrt.f64 (pow.f64 (fma.f64 x x -1) 3/2))
(pow.f64 (pow.f64 (fma.f64 x x -1) 1/4) 2)
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(fabs.f64 (sqrt.f64 (fma.f64 x x -1)))
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(log.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))))
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(cbrt.f64 (pow.f64 (fma.f64 x x -1) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))
(log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 x x -1))))
(+.f64 1 (-.f64 (sqrt.f64 (fma.f64 x x -1)) 1))
(+.f64 (sqrt.f64 (fma.f64 x x -1)) 0)
(sqrt.f64 (fma.f64 x x -1))

eval32.0ms (0.9%)

Compiler

Compiled 1106 to 832 computations (24.8% saved)

prune10.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh000
Picked011
Done000
Total70373
Accurracy
100.0%
Counts
73 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(log.f64 (+.f64 x (-.f64 x (/.f64 1/2 x))))
51.6%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
99.6%
(log.f64 (+.f64 x x))
99.8%
(log.f64 (+.f64 x (-.f64 x (/.f64 1/2 x))))
51.6%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
99.6%
(log.f64 (+.f64 x x))
Compiler

Compiled 48 to 32 computations (33.3% saved)

localize47.0ms (1.3%)

Compiler

Compiled 35 to 19 computations (45.7% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked022
Done011
Total033
Accurracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(log.f64 (+.f64 x (-.f64 x (/.f64 1/2 x))))
51.6%
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
99.6%
(log.f64 (+.f64 x x))
Compiler

Compiled 46 to 30 computations (34.8% saved)

regimes43.0ms (1.2%)

Counts
3 → 1
Calls
Call 1
Inputs
(log.f64 (+.f64 x x))
(log.f64 (+.f64 x (-.f64 x (/.f64 1/2 x))))
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
Outputs
(log.f64 (+.f64 x (-.f64 x (/.f64 1/2 x))))
Calls

3 calls:

35.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
3.0ms
x
3.0ms
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
Results
AccuracySegmentsBranch
99.8%1x
99.8%1(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
99.8%1(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
Compiler

Compiled 43 to 28 computations (34.9% saved)

regimes3.0ms (0.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(log.f64 (+.f64 x x))
Outputs
(log.f64 (+.f64 x x))
Calls

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
99.6%1x
Compiler

Compiled 7 to 4 computations (42.9% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative
sub-neg
neg-mul-1
*-commutative
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01134
11434
22134
32534
42834
52934
Stop Event
done
saturated
Calls
Call 1
Inputs
(log.f64 (+.f64 x (-.f64 x (/.f64 1/2 x))))
(log.f64 (+.f64 x x))
Outputs
(log.f64 (+.f64 x (-.f64 x (/.f64 1/2 x))))
(log.f64 (+.f64 x x))
Compiler

Compiled 14 to 9 computations (35.7% saved)

soundness89.0ms (2.5%)

Rules
1482×fma-def
1296×associate-/l*
880×associate-/r*
478×associate-*r/
444×*-commutative
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01111080
1255962
2667852
32198816
47264816
Stop Event
node limit
Compiler

Compiled 29 to 20 computations (31% saved)

end31.0ms (0.9%)

Compiler

Compiled 46 to 30 computations (34.8% saved)

Profiling

Loading profile data...