Details

Time bar (total: 6.3s)

sample32.0ms

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

simplify12.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

localize12.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))))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
23×add-sqr-sqrt
21×add-cube-cbrt
12×prod-diff
times-frac
add-log-exp
pow1
add-exp-log add-cbrt-cube
expm1-log1p-u sqrt-prod log1p-expm1-u
fma-def fma-neg associate-/r* associate-/l*
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg pow1/2 diff-log div-exp pow-prod-down clear-num sum-log flip-- div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 92
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
3.0ms
(/ 1.0 (hypot 1.0 x))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series881.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
273.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
146.0ms
(/ 1.0 (hypot 1.0 x))
355.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify61.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05331129
12036878
25001876

prune282.0ms

Filtered
104 candidates to 84 candidates (80.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New977104
Fresh000
Picked101
Done000
Total987105

Merged error: 14.7b

Counts
105 → 7

localize13.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 (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
21×add-sqr-sqrt add-cube-cbrt
18×times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l* add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
fma-def
cbrt-undiv frac-2neg div-exp clear-num div-inv
+-commutative flip3-+ sum-log flip-+ fma-udef distribute-lft-out
Counts
4 → 85
Calls
4 calls:
3.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series701.0ms

Counts
4 → 12
Calls
4 calls:
329.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
105.0ms
(/ 1.0 (hypot 1.0 x))
111.0ms
(/ 1.0 (hypot 1.0 x))
155.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0430681
11662625
25001623

prune346.0ms

Filtered
97 candidates to 85 candidates (87.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New95297
Fresh426
Picked101
Done000
Total1004104

Merged error: 0.2b

Counts
104 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1
expm1-log1p-u log-prod log-pow log1p-expm1-u add-log-exp
exp-prod
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
rem-log-exp exp-sum
Counts
4 → 86
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
2.0ms
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series516.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ 1.0 (hypot 1.0 x))
109.0ms
(/ 1.0 (hypot 1.0 x))
147.0ms
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
154.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify169.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (159.0ms)

IterNodesCost
0279665
1933600
24765594
35001592

prune368.0ms

Filtered
98 candidates to 85 candidates (86.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New97198
Fresh123
Picked011
Done000
Total984102

Merged error: 0.2b

Counts
102 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt *-un-lft-identity
11×pow1
add-exp-log pow1/3 swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
fma-udef
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 72
Calls
4 calls:
5.0ms
(* (cbrt (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))) (cbrt (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series1.3s

Counts
4 → 12
Calls
4 calls:
804.0ms
(* (cbrt (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))) (cbrt (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
172.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))
153.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))
152.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
03831202
115491077
25002970

prune333.0ms

Filtered
84 candidates to 69 candidates (82.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh022
Picked011
Done011
Total84488

Merged error: 0.2b

Counts
88 → 4

regimes273.0ms

Accuracy

99.8% (0.0b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04438
14438

end0.0ms

sample847.0ms

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