Details

Time bar (total: 3.2s)

sample16.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify84.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0228
1396
2666
3986
41086
51306
61586
72116
82776
95126
108816
1113386
1227286
1350016

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 2.30753 (* x 0.27061))
0.0b
(- x (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x))))
0.1b
(* (+ 0.99229 (* x 0.04481)) x)
14.1b
(/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
54×*-un-lft-identity
52×add-cube-cbrt
45×prod-diff
37×times-frac
add-exp-log associate-/r/ add-cbrt-cube add-log-exp
flip3-+ flip-+
pow1
expm1-log1p-u log1p-expm1-u div-inv
fma-def fma-neg associate-*r* associate-*l* associate-/r* associate-/l*
associate-*l/ associate-/l/ difference-of-squares
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 136
Calls
4 calls:
2.0ms
(+ 2.30753 (* x 0.27061))
21.0ms
(- x (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x))))
7.0ms
(* (+ 0.99229 (* x 0.04481)) x)
9.0ms
(/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ 2.30753 (* x 0.27061))
85.0ms
(- x (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x))))
66.0ms
(* (+ 0.99229 (* x 0.04481)) x)
56.0ms
(/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))

simplify92.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07433423
128132342
250022125

prune518.0ms

Filtered
148 candidates to 97 candidates (65.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (fma 0.27061 x 2.30753) (sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x))))
0.2b
(/ (/ (fma 0.27061 x 2.30753) (sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))) (sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x))))
14.0b
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
14.0b
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
288×times-frac
164×add-sqr-sqrt
162×add-cube-cbrt *-un-lft-identity
156×sqrt-prod
27×associate-/l*
22×sqrt-div
18×associate-/r/
12×associate-/r*
11×add-exp-log flip3-+ add-cbrt-cube flip-+
div-inv
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
associate-/l/
Counts
4 → 270
Calls
4 calls:
5.0ms
(/ (fma 0.27061 x 2.30753) (sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x))))
17.0ms
(/ (/ (fma 0.27061 x 2.30753) (sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))) (sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x))))
5.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
3.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))

series371.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(/ (fma 0.27061 x 2.30753) (sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x))))
58.0ms
(/ (/ (fma 0.27061 x 2.30753) (sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))) (sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x))))
77.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
79.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))

simplify110.0ms

Algorithm
egg-herbie
Counts
282 → 282
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
08955879
132945317
250015271

prune569.0ms

Filtered
282 candidates to 156 candidates (55.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

14.0b
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
14.0b
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
14.0b
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
14.0b
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log expm1-log1p-u rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
Counts
4 → 68
Calls
4 calls:
5.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
3.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
3.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
3.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))

series313.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
78.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
82.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))
75.0ms
(sqrt (+ 1.0 (* (+ 0.99229 (* x 0.04481)) x)))

simplify78.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0177716
1577688
23027656
35001644

prune328.0ms

Filtered
80 candidates to 68 candidates (85.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes12.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01914
11914

end0.0ms

sample327.0ms

Algorithm
intervals
Results
240.0ms8000×body80valid