Details

Time bar (total: 15.7s)

sample34.0ms

Algorithm
intervals
Results
17.0ms103×body1280valid
5.0ms23×body640valid
3.0ms121×body80valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1266
2336
3356
4416
5446
6446

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.3b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(/ 1.0 (hypot 1.0 x))
1.3b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ sqrt-div associate-*r/ sqrt-prod flip-+
+-commutative sub-neg flip3-- frac-2neg pow1/2 clear-num *-commutative flip-- div-inv
Counts
4 → 15
Calls
4 calls:
2.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
4.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
2.0ms
(/ 1.0 (hypot 1.0 x))
2.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series850.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
264.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
107.0ms
(/ 1.0 (hypot 1.0 x))
355.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify35.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0355358
11216340
25001326

prune108.0ms

Filtered
27 candidates to 26 candidates (96.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New23427
Fresh000
Picked011
Done000
Total23528

Merged error: 14.8b

Counts
28 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ 1.0 (hypot 1.0 x))
0.9b
(fma 1.0 1.0 (* (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num div-inv
+-commutative flip3-+ flip-+ fma-udef
Counts
4 → 10
Calls
4 calls:
3.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
2.0ms
(/ 1.0 (hypot 1.0 x))
2.0ms
(/ 1.0 (hypot 1.0 x))
1.0ms
(fma 1.0 1.0 (* (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

series679.0ms

Counts
4 → 12
Calls
4 calls:
318.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
107.0ms
(/ 1.0 (hypot 1.0 x))
108.0ms
(/ 1.0 (hypot 1.0 x))
146.0ms
(fma 1.0 1.0 (* (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x)))))

simplify33.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0308238
11096222
25001216

prune113.0ms

Filtered
22 candidates to 22 candidates (100.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New20222
Fresh213
Picked011
Done011
Total22527

Merged error: 0.2b

Counts
27 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1.0 1.0 (fma 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
0.0b
(/ (- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)) (fma 1.0 1.0 (fma 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
0.5b
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
0.9b
(- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×sqr-pow
unpow3 prod-diff
unpow-prod-down sqrt-prod
*-commutative
difference-cubes flip3-- fma-neg flip-- associate-/l/ associate-/l* difference-of-squares
pow-to-exp sub-neg pow-pow frac-2neg pow1/2 div-sub clear-num sqrt-pow2 fma-udef div-inv
Counts
4 → 32
Calls
4 calls:
1.0ms
(fma 1.0 1.0 (fma 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
8.0ms
(/ (- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)) (fma 1.0 1.0 (fma 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
3.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
6.0ms
(- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))

series8.4s

Counts
4 → 12
Calls
4 calls:
602.0ms
(fma 1.0 1.0 (fma 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
5.7s
(/ (- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)) (fma 1.0 1.0 (fma 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))
691.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
1.4s
(- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))

simplify67.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
017992551
150012445

prune414.0ms

Filtered
44 candidates to 36 candidates (81.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New41344
Fresh022
Picked101
Done202
Total44549

Merged error: 0.2b

Counts
49 → 5

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
0.5b
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
0.5b
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
0.8b
(- (* (pow 1.0 3) (pow 1.0 3)) (* (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
185×sqr-pow
135×prod-diff
103×unpow3
78×unpow-prod-down sqrt-prod
76×swap-sqr
72×*-commutative
68×associate-*r* associate-*l*
33×unswap-sqr
16×difference-of-squares
fma-neg
pow-to-exp pow-pow pow1/2 sqrt-pow2
pow-prod-down
difference-cubes sub-neg flip3-- flip--
Counts
4 → 186
Calls
4 calls:
3.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
3.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
3.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
28.0ms
(- (* (pow 1.0 3) (pow 1.0 3)) (* (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)))

series3.1s

Counts
4 → 12
Calls
4 calls:
701.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
710.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
700.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
993.0ms
(- (* (pow 1.0 3) (pow 1.0 3)) (* (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)))

simplify141.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
08518597
131404689
250024683

prune315.0ms

Filtered
198 candidates to 45 candidates (22.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1962198
Fresh134
Picked101
Done000
Total1985203

Merged error: 0.2b

Counts
203 → 5

regimes231.0ms

Accuracy

99.4% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 14.6b

bsearch161.0ms

Steps
ItersRangePoint
8
3.88064682879673e-06
0.018000635171863108
0.0031563808817272844
10
-1421.6155834850151
-1.485944467815708e-07
-0.9591038128874348

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06771
16771

end0.0ms

sample819.0ms

Algorithm
intervals
Results
474.0ms2872×body1280valid
122.0ms4069×body80valid
79.0ms590×body640valid
27.0ms302×body320valid
10.0ms167×body160valid